create3DENEntity

From Bohemia Interactive Community
Revision as of 09:16, 3 November 2015 by Str (talk | contribs) (Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3dev |= Game name |1.52|= Game version ______________...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
-wrong parameter ("arma3dev") defined!-[[:Category:Introduced with arma3dev version 1.52|1.52]]
Hover & click on the images for description

Description

Description:
Create new Eden Entity.

This is the only way how to add new editable entities to Eden Editor scenario. Other 'create' commands like createVehicle or createUnit will still work, but the resulting entity won't be editable.
Groups:
Uncategorised

Syntax

Syntax:
create3DENEntity [mode, class, position]
Parameters:
mode: String - can be "Object", "Trigger", "Waypoint", "System" or "Marker"
class: String - entity class, defined in one of the following classes:
  • CfgVehicles - objects and systems
  • CfgNonAIVehicles - triggers
  • CfgWaypoint - waypoints
  • CfgMarkers - markers
position: Array in format Position
Return Value:
Eden Entity

Alternative Syntax

Syntax:
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", "System" or "Marker"
class: String - entity class
position: Array in format Position
Return Value:
Eden Entity

Examples

Example 1:
dude1 = create3DENEntity ["Object","B_Soldier_F",screenToWorld [0.5,0.5]];
Example 2:
dude2 = (group dude1) create3DENEntity ["Object","B_Soldier_AR_F",screenToWorld [0.5,0.5]];
Example 3:
myMarker = create3DENEntity ["Marker","mil_warning",position player];

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

[[Category:Introduced with arma3dev version 1.52]][[ Category: arma3dev: New Scripting Commands | CREATE3DENENTITY]][[ Category: arma3dev: Scripting Commands | CREATE3DENENTITY]]

Notes


Bottom Section