Difference between revisions of "set3DENObjectType"

From Bohemia Interactive Community
Jump to navigation Jump to search
(Added command)
 
m (Text replacement - "|= Game name" to "|Game name=")
 
(11 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Command|= Comments
+
{{Command|Comments=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| arma3dev |= Game name
+
|arma3|Game name=
  
|1.52|= Game version
+
|1.56|Game version=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| Sets the classname of a given 3DEN Editor object. |= Description
+
| Sets the classname of one or more given Eden Editor [[Eden Editor: Object|objects]]. For Logic objects use [[set3DENLogicType]] |DESCRIPTION=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| object '''set3DENObjectType''' classname|= Syntax
+
| objects '''set3DENObjectType''' classname|SYNTAX=
|p1= object: [[Object]] |= PARAMETER1
+
|p1= objects: [[Array]] of [[Object]]s |PARAMETER1=
|p2= classname: [[String]] - name of the cfgVehicles class |= PARAMETER2
+
|p2= classname: [[String]] - name of the cfgVehicles class |PARAMETER2=
| [[Nothing]] |= RETURNVALUE
+
| [[Nothing]] |RETURNVALUE=  
  
 
|x1= <code>[ [[get3DENMouseOver]] [[select]] 1] [[set3DENObjectType]] "B_crew_F";
 
|x1= <code>[ [[get3DENMouseOver]] [[select]] 1] [[set3DENObjectType]] "B_crew_F";
 
// turns object under cursor into a blufor crewman
 
// turns object under cursor into a blufor crewman
</code>|= EXAMPLE1
+
</code>|EXAMPLE1=  
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
 
|   
 
|   
 +
[[set3DENLogicType]]
 
[[get3DENMouseOver]]
 
[[get3DENMouseOver]]
 
[[add3DENConnection]]
 
[[add3DENConnection]]
Line 50: Line 51:
 
[[set3DENIconsVisible]]
 
[[set3DENIconsVisible]]
 
[[set3DENLinesVisible]]
 
[[set3DENLinesVisible]]
|= SEEALSO
+
|SEEALSO=  
  
|  |= MPBEHAVIOUR
+
|  |MPBEHAVIOUR=  
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
 
}}
 
}}
Line 68: Line 69:
 
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: 3DEN|{{uc:{{PAGENAME}}}}]]
+
[[Category:Command Group: Eden Editor|{{uc:{{PAGENAME}}}}]]

Latest revision as of 20:42, 1 September 2019

Introduced with Arma 3 version 1.561.56
Hover & click on the images for descriptions

Description

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

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

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Notes


Bottom Section