Eden Editor: System: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
== Attributes ==
== Attributes ==
<onlyinclude>
<onlyinclude>
<!-- Exported from the game by BIS_fnc_3DENExportAttributes. Manual edits may be replaced by future exports. -->
{| class="wikitable sortable"
{| class="wikitable sortable"
! colspan="3" | Info
! colspan="3" | <big>Info</big>
! colspan="2" | [[Eden Editor: Setting Attributes|Development]]
! colspan="2" | <big>[[Eden Editor: Setting Attributes|Development]]</big>
|-
|-
! Name
! Name
Line 12: Line 13:
|-
|-
| '''Type'''
| '''Type'''
| Logic Type
| Type
|  
| Object class.
| <tt>itemClass</tt>
| <small><tt>itemClass</tt></small>
| [[String]]
| [[String]]
|-
|-
| '''Variable Name'''
| '''Variable Name'''
| Logic Init
| Init
|  
| Unique system name. Can contain only letters, numbers and underscore. The name is not case sensitive, so 'someName' and 'SOMENAME' are treated as the same variables.
| <tt>Name</tt>
| <small><tt>Name</tt></small>
| [[String]]
| [[String]]
|-
|-
| '''Init'''
| '''Init'''
| Logic Init
| Init
|  
| Expression called upon at start. In multiplayer, it is called on every machine and for each player who joins in the progress. The variable 'this' refers to the affected object.
| <tt>Init</tt>
| <small><tt>Init</tt></small>
| [[String]]
| [[String]]
|-
|-
| '''Position'''
| '''Position'''
| Logic Transformation
| Transformation
|  
| World coordinates in meters. X goes from West to East, Y from South to North and Z is height above terrain.
| <tt>position</tt>
| <small><tt>position</tt></small>
| [[Position3D]]
| [[Position3D]]
|-
|-
| '''Rotation'''
| '''Rotation'''
| Logic Transformation
| Transformation
|  
| Local rotation in degrees. X is pitch, Y is roll and Z is yaw.
| <tt>rotation</tt>
| <small><tt>rotation</tt></small>
| [[Number]]
| [[Number]]
|-
|-
| '''Placement Radius'''
| '''Placement Radius'''
| Logic Transformation
| Transformation
|  
| Placement radius in meters. The entity will start at a random position within the radius.
| <tt>placementRadius</tt>
| <small><tt>placementRadius</tt></small>
| [[Number]]
| [[Number]]
|-
|-
| '''Singleplayer Control'''
| '''Player'''
| Object Control
| Control
|  
| Player in singleplayer. When enabled, the character will also be available in multiplayer and team switch ('Playable' status cannot be disabled individually in such case).
| <tt>ControlSP</tt>
| <small><tt>ControlSP</tt></small>
| [[Bool]]
| [[Bool]]
|-
|-
| '''Multiplayer Control'''
| '''Playable'''
| Object Control
| Control
|  
| When enabled, the character will appear as a slot in the multiplayer scenario lobby and in the list of roles available for team switch.
| <tt>ControlMP</tt>
| <small><tt>ControlMP</tt></small>
| [[Bool]]
| [[Bool]]
|-
|-
| '''Role Description'''
| '''Role Description'''
| Object Control
| Control
|  
| Multiplayer role description visible in the multiplayer lobby. When undefined, the object type name will be used by default.
| <tt>description</tt>
| <small><tt>description</tt></small>
| [[String]]
| [[String]]
|-
|-
| '''Probability of Presence'''
| '''Probability of Presence'''
| Logic Presence
| Presence
|  
| Probability of presence evaluated at the scenario start. When it fails, the object is not created at all.
| <tt>presence</tt>
| <small><tt>presence</tt></small>
| [[Number]]
| [[Number]]
|-
|-
| '''Condition of Presence'''
| '''Condition of Presence'''
| Logic Presence
| Presence
|  
| Condition of presence evaluated at the scenario start, must return boolean expression. When false, the object is not created at all.
| <tt>presenceCondition</tt>
| <small><tt>presenceCondition</tt></small>
| [[String]]
| [[String]]
|}
|}

Revision as of 15:50, 9 February 2016

Attributes

Info Development
Name Category Description Class Type
Type Type Object class. itemClass String
Variable Name Init Unique system name. Can contain only letters, numbers and underscore. The name is not case sensitive, so 'someName' and 'SOMENAME' are treated as the same variables. Name String
Init Init Expression called upon at start. In multiplayer, it is called on every machine and for each player who joins in the progress. The variable 'this' refers to the affected object. Init String
Position Transformation World coordinates in meters. X goes from West to East, Y from South to North and Z is height above terrain. position Position3D
Rotation Transformation Local rotation in degrees. X is pitch, Y is roll and Z is yaw. rotation Number
Placement Radius Transformation Placement radius in meters. The entity will start at a random position within the radius. placementRadius Number
Player Control Player in singleplayer. When enabled, the character will also be available in multiplayer and team switch ('Playable' status cannot be disabled individually in such case). ControlSP Bool
Playable Control When enabled, the character will appear as a slot in the multiplayer scenario lobby and in the list of roles available for team switch. ControlMP Bool
Role Description Control Multiplayer role description visible in the multiplayer lobby. When undefined, the object type name will be used by default. description String
Probability of Presence Presence Probability of presence evaluated at the scenario start. When it fails, the object is not created at all. presence Number
Condition of Presence Presence Condition of presence evaluated at the scenario start, must return boolean expression. When false, the object is not created at all. presenceCondition String