set3DENObjectType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (template:command argument fix)
(6 intermediate revisions by 5 users not shown)
Line 2: Line 2:
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma3dev |= Game name
|arma3|= Game name


|1.52|= Game version
|1.56|= Game version
____________________________________________________________________________________________
____________________________________________________________________________________________


| Sets the classname of a given Eden Editor [[Eden Editor: Object|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=  
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}

Revision as of 15:46, 7 April 2019

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:
Uncategorised

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