Eden Editor: Object: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 9: Line 9:
! class="unsortable" | Description
! class="unsortable" | Description
! Class
! Class
! Control
! Type
|-
|-
| '''Type'''
| '''Type'''
Line 15: Line 15:
|  
|  
| <tt>ItemClass</tt>
| <tt>ItemClass</tt>
| <tt>[[Eden_Editor:_Configuring_Attributes:_Controls#Type|Type]]</tt>
| [[String]]
|-
|-
| '''Variable Name'''
| '''Variable Name'''
Line 21: Line 21:
|  
|  
| <tt>Name</tt>
| <tt>Name</tt>
| <tt>[[Eden_Editor:_Configuring_Attributes:_Controls#Edit|Edit]]</tt>
| [[String]]
|-
|-
| '''Init'''
| '''Init'''
Line 27: Line 27:
| Expression called upon start. In multiplayer, it's called on every machine and for each player who joins in progress.
| Expression called upon start. In multiplayer, it's called on every machine and for each player who joins in progress.
| <tt>Init</tt>
| <tt>Init</tt>
| <tt>[[Eden_Editor:_Configuring_Attributes:_Controls#EditCodeMulti5|EditCodeMulti5]]</tt>
| [[String]]
|-
|-
| '''Position'''
| '''Position'''
Line 33: Line 33:
|  
|  
| <tt>position</tt>
| <tt>position</tt>
| <tt>[[Eden_Editor:_Configuring_Attributes:_Controls#EditXYZ|EditXYZ]]</tt>
| [[Position3D]]
|-
|-
| '''Rotation'''
| '''Rotation'''
Line 39: Line 39:
|  
|  
| <tt>rotation</tt>
| <tt>rotation</tt>
| <tt>[[Eden_Editor:_Configuring_Attributes:_Controls#EditXYZ|EditXYZ]]</tt>
| [[Number]]
|-
|-
| '''Placement Radius'''
| '''Placement Radius'''
Line 45: Line 45:
|  
|  
| <tt>placementRadius</tt>
| <tt>placementRadius</tt>
| <tt>[[Eden_Editor:_Configuring_Attributes:_Controls#Edit|Edit]]</tt>
| [[Number]]
|-
|-
| '''Singleplayer Control'''
| '''Singleplayer Control'''
Line 51: Line 51:
|  
|  
| <tt>ControlSP</tt>
| <tt>ControlSP</tt>
| <tt>[[Eden_Editor:_Configuring_Attributes:_Controls#ControlSP|ControlSP]]</tt>
| [[Bool]]
|-
|-
| '''Multiplayer Control'''
| '''Multiplayer Control'''
Line 57: Line 57:
|  
|  
| <tt>ControlMP</tt>
| <tt>ControlMP</tt>
| <tt>[[Eden_Editor:_Configuring_Attributes:_Controls#ControlMP|ControlMP]]</tt>
| [[Bool]]
|-
|-
| '''Role Description'''
| '''Role Description'''
Line 63: Line 63:
|  
|  
| <tt>description</tt>
| <tt>description</tt>
| <tt>[[Eden_Editor:_Configuring_Attributes:_Controls#Edit|Edit]]</tt>
| [[String]]
|-
|-
| '''Lock'''
| '''Lock'''
Line 69: Line 69:
|  
|  
| <tt>lock</tt>
| <tt>lock</tt>
| <tt>[[Eden_Editor:_Configuring_Attributes:_Controls#Lock|Lock]]</tt>
| [[Bool]]
|-
|-
| '''Skill'''
| '''Skill'''
Line 75: Line 75:
|  
|  
| <tt>skill</tt>
| <tt>skill</tt>
| <tt>[[Eden_Editor:_Configuring_Attributes:_Controls#Skill|Skill]]</tt>
| [[Number]]
|-
|-
| '''Health / Armor'''
| '''Health / Armor'''
Line 81: Line 81:
|  
|  
| <tt>Health</tt>
| <tt>Health</tt>
| <tt>[[Eden_Editor:_Configuring_Attributes:_Controls#Slider|Slider]]</tt>
| [[Number]]
|-
|-
| '''Fuel'''
| '''Fuel'''
Line 87: Line 87:
|  
|  
| <tt>fuel</tt>
| <tt>fuel</tt>
| <tt>[[Eden_Editor:_Configuring_Attributes:_Controls#Slider|Slider]]</tt>
| [[Number]]
|-
|-
| '''Ammunition'''
| '''Ammunition'''
Line 93: Line 93:
|  
|  
| <tt>ammo</tt>
| <tt>ammo</tt>
| <tt>[[Eden_Editor:_Configuring_Attributes:_Controls#Slider|Slider]]</tt>
| [[Number]]
|-
|-
| '''Rank'''
| '''Rank'''
Line 99: Line 99:
|  
|  
| <tt>rank</tt>
| <tt>rank</tt>
| <tt>[[Eden_Editor:_Configuring_Attributes:_Controls#Rank|Rank]]</tt>
| [[String]]
|-
|-
| '''Show Model'''
| '''Show Model'''
Line 105: Line 105:
|  
|  
| <tt>hideObject</tt>
| <tt>hideObject</tt>
| <tt>[[Eden_Editor:_Configuring_Attributes:_Controls#CheckboxReversed|CheckboxReversed]]</tt>
| [[Bool]]
|-
|-
| '''Enable Simulation'''
| '''Enable Simulation'''
Line 111: Line 111:
|  
|  
| <tt>enableSimulation</tt>
| <tt>enableSimulation</tt>
| <tt>[[Eden_Editor:_Configuring_Attributes:_Controls#CheckboxReversed|CheckboxReversed]]</tt>
| [[Bool]]
|-
|-
| '''Enable Damage'''
| '''Enable Damage'''
Line 117: Line 117:
|  
|  
| <tt>allowDamage</tt>
| <tt>allowDamage</tt>
| <tt>[[Eden_Editor:_Configuring_Attributes:_Controls#CheckboxReversed|CheckboxReversed]]</tt>
| [[Bool]]
|-
|-
| '''Enable Stamina'''
| '''Enable Stamina'''
Line 123: Line 123:
|  
|  
| <tt>enableStamina</tt>
| <tt>enableStamina</tt>
| <tt>[[Eden_Editor:_Configuring_Attributes:_Controls#CheckboxReversed|CheckboxReversed]]</tt>
| [[Bool]]
|-
|-
| '''Name'''
| '''Name'''
Line 129: Line 129:
|  
|  
| <tt>unitName</tt>
| <tt>unitName</tt>
| <tt>[[Eden_Editor:_Configuring_Attributes:_Controls#Edit|Edit]]</tt>
| [[String]]
|-
|-
| '''Face'''
| '''Face'''
Line 135: Line 135:
|  
|  
| <tt>face</tt>
| <tt>face</tt>
| <tt>[[Eden_Editor:_Configuring_Attributes:_Controls#Face|Face]]</tt>
| [[String]]
|-
|-
| '''Voice'''
| '''Voice'''
Line 141: Line 141:
|  
|  
| <tt>speaker</tt>
| <tt>speaker</tt>
| <tt>[[Eden_Editor:_Configuring_Attributes:_Controls#Speaker|Speaker]]</tt>
| [[String]]
|-
|-
| '''Voice Pitch'''
| '''Voice Pitch'''
Line 147: Line 147:
|  
|  
| <tt>pitch</tt>
| <tt>pitch</tt>
| <tt>[[Eden_Editor:_Configuring_Attributes:_Controls#Pitch|Pitch]]</tt>
| [[Number]]
|-
|-
| '''Probability of Presence'''
| '''Probability of Presence'''
Line 153: Line 153:
|  
|  
| <tt>presence</tt>
| <tt>presence</tt>
| <tt>[[Eden_Editor:_Configuring_Attributes:_Controls#Slider|Slider]]</tt>
| [[Number]]
|-
|-
| '''Condition of Presence'''
| '''Condition of Presence'''
Line 159: Line 159:
|  
|  
| <tt>presenceCondition</tt>
| <tt>presenceCondition</tt>
| <tt>[[Eden_Editor:_Configuring_Attributes:_Controls#EditCode|EditCode]]</tt>
| [[String]]
|}
|}
</onlyinclude>
</onlyinclude>


[[Category:Eden Editor|Objects]]
[[Category:Eden Editor|Objects]]
[[Category:Eden Editor: Asset Types|Objects]]
[[Category:Eden Editor: Asset Types|Objects]]

Revision as of 16:28, 7 December 2015

Attributes

Info Development
Name Category Description Class Type
Type Object Type ItemClass String
Variable Name Object Init Name String
Init Object Init Expression called upon start. In multiplayer, it's called on every machine and for each player who joins in progress. Init String
Position Object Transformation position Position3D
Rotation Object Transformation rotation Number
Placement Radius Object Transformation placementRadius Number
Singleplayer Control Object Control ControlSP Bool
Multiplayer Control Object Control ControlMP Bool
Role Description Object Control description String
Lock Object States lock Bool
Skill Object States skill Number
Health / Armor Object States Health Number
Fuel Object States fuel Number
Ammunition Object States ammo Number
Rank Object States rank String
Show Model Object Special States hideObject Bool
Enable Simulation Object Special States enableSimulation Bool
Enable Damage Object Special States allowDamage Bool
Enable Stamina Object Special States enableStamina Bool
Name Object Identity unitName String
Face Object Identity face String
Voice Object Identity speaker String
Voice Pitch Object Identity pitch Number
Probability of Presence Object Presence presence Number
Condition of Presence Object Presence presenceCondition String