Script v1.4.4.0
- Handtools
- Events
- Objects
- Placeables
- Triggers
- Utils
- BaleUtil
- ConfigurationUtil
- DebugUtil
- FillUtil
- FruitUtil
- FSUtils
- GameSettings
- MaterialUtil
- ObjectChangeUtil
- ParticleUtil
- SplitUtil
- TipUtil
- TreePlantUtil
- Utils
- Vehicles
- Specializations
Engine v7.0.0.2
- General
- Entity
- Node
- Scenegraph
- Lighting
- Camera
- Shape
- Particle System
- Physics
- Spline
- Animation
- Overlays
- Sound
- Input
- XML
- Network
- Callbacks
- Text Rendering
- Terrain Detail
- Tire Track
- Editor
- Rendering
- String
- Math
- I3D
- Fillplanes
Foundation Reference
BaleUtil
DescriptionBaleUtilFunctions
registerBaleType
DescriptionRegister bale typeDefinition
registerBaleType(string filename, string fillTypeName, float width, float height, float length, float diameter, boolean isRoundbale)Arguments
string | filename | file name |
string | fillTypeName | fill type name |
float | width | bale width |
float | height | bale height |
float | length | bale length |
float | diameter | bale diameter |
boolean | isRoundbale | is roundbale |
integer | baleIndex | index of bale |
getBale
DescriptionGet baleDefinition
getBale(integer fillType, float width, float height, float length, float diameter, boolean isRoundbale)Arguments
integer | fillType | fill type |
float | width | bale width |
float | height | bale height |
float | length | bale length |
float | diameter | bale diameter |
boolean | isRoundbale | is roundbale |
table | bale | bale |
getBaleKey
DescriptionGet bale keyDefinition
getBaleKey(string fillTypeName, float width, float height, float length, float diameter, boolean isRoundbale)Arguments
string | fillTypeName | fill type name |
float | width | bale width |
float | height | bale height |
float | length | bale length |
float | diameter | bale diameter |
boolean | isRoundbale | is roundbale |
string | baleKey | bale key |