set3DENObjectType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{GameCategory\|(arma[0123])\|[ _]?New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


|arma3|Game name=
|arma3|Game name=
Line 7: Line 6:


|gr1= Eden Editor |GROUP1=
|gr1= Eden Editor |GROUP1=
____________________________________________________________________________________________


| Sets the classname of one or more given Eden Editor [[Eden Editor: Object|objects]]. For Logic objects use [[set3DENLogicType]] |DESCRIPTION=
| Sets the classname of one or more given Eden Editor [[Eden Editor: Object|objects]]. For Logic objects use [[set3DENLogicType]] |DESCRIPTION=
____________________________________________________________________________________________


| objects '''set3DENObjectType''' classname|SYNTAX=
| objects '''set3DENObjectType''' classname|SYNTAX=
Line 20: Line 17:
// turns object under cursor into a blufor crewman
// turns object under cursor into a blufor crewman
</code>|EXAMPLE1=  
</code>|EXAMPLE1=  
____________________________________________________________________________________________


|   
|   
Line 56: Line 52:


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
}}
}}



Revision as of 02:47, 17 January 2021

Hover & click on the images for description

Description

Description:
Sets the classname of one or more given Eden Editor objects. For Logic objects use set3DENLogicType
Groups:
Eden Editor

Syntax

Syntax:
objects set3DENObjectType classname
Parameters:
objects: Array of Objects
classname: String - name of the cfgVehicles class
Return Value:
Nothing

Examples

Example 1:
[ get3DENMouseOver select 1] set3DENObjectType "B_crew_F"; // turns object under cursor into a blufor crewman

Additional Information

See also:
set3DENLogicType get3DENMouseOver add3DENConnection add3DENEventHandler all3DENEntities collect3DENHistory create3DENComposition create3DENEntity current3DENOperation delete3DENEntities do3DENAction get3DENActionState get3DENAttribute get3DENCamera get3DENConnections get3DENEntityID get3DENGrid get3DENIconsVisible get3DENLinesVisible get3DENSelected is3DEN is3DENMultiplayer move3DENCamera remove3DENConnection remove3DENEventHandler removeAll3DENEventHandlers set3DENAttributes set3DENGrid set3DENIconsVisible set3DENLinesVisible

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

Notes


Bottom Section