R3vo
To create a waypoint, use the alternative syntax and pass the group which should receive it as the left-hand argument.
Results appear below as you type; use the arrow keys to move through them.
Create new Eden Entity. Used for creating individual entities; to create a composition (e.g., infantry squad), use create3DENComposition and to create a layer use add3DENLayer.
This is the only way to add new editable entities to an Eden Editor scenario. Other 'create' commands like createVehicle or createUnit will still work, but the resulting entity will not be editable.
create3DENEntity [mode, class, position, isEmpty]
Parameters:
mode: String - can be "Object", "Trigger", "Waypoint", "Logic", "Marker" or Arma 3 v2.14 "Comment"
class: String - entity class, defined in one of the following classes:
CfgVehicles - objects and logic entitiesCfgNonAIVehicles - triggersCfgWaypoint - waypointsCfgMarkers - markersposition: Position
isEmpty: Boolean - (Optional, default false) true to create vehicle without crew
Returns: Eden Entity (Eden_ID for Comment)
group create3DENEntity [mode, class, position]
Parameters:
group: Group - group in which an AI character or waypoint is created.
mode: String - can be "Object", "Trigger", "Waypoint", "Logic", "Marker" or Arma 3 v2.14 "Comment"
class: String - entity class
position: Position
Returns: Eden Entity (Eden_ID for Comment)
dude1 = create3DENEntity ["Object", "B_Soldier_F", screenToWorld [0.5, 0.5]];
dude2 = group dude1 create3DENEntity ["Object", "B_Soldier_AR_F", screenToWorld [0.5, 0.5]];
myMarker = create3DENEntity ["Marker", "mil_warning", getPosATL player];
mytrigger = create3DENEntity ["Trigger", "EmptyDetectorArea10x10", getPosATL player];
Arma 3 v2.06 Create a shape marker:
m = create3DENEntity ["Marker", "", getPosATL player]; // default rectangular marker
m set3DENAttribute ["markerType", 1]; // 0 - rectangle; 1 - ellipse
m set3DENAttribute ["brush", "DiagGrid"];
Arma 3 v2.14 Create a comment:
myComment = create3DENEntity ["Comment", "loc_talk", [0,0,0]];
myComment set3DENAttribute ["name", "Title Here"];
myComment set3DENAttribute ["description", "Tooltip Here"];
create3DENComposition · delete3DENEntities · add3DENLayer
To create a waypoint, use the alternative syntax and pass the group which should receive it as the left-hand argument.
Due to an unknown reason, you cannot create3DENEntity animals, will cause a crash of the game.