set3DENObjectType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "\]\] +\[\[" to "]] [[")
 
(37 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| arma3dev |= Game name
|game1= arma3
|version1= 1.56


|1.52|= Game version
|gr1= Eden Editor
____________________________________________________________________________________________


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


| object '''set3DENObjectType''' classname|= Syntax
|s1= objects [[set3DENObjectType]] classname
|p1= object: [[Object]] |= PARAMETER1
|p2= classname: [[String]] - name of the cfgVehicles class |= PARAMETER2
| [[Nothing]] |= RETURNVALUE


|x1= <code>[ [[get3DENMouseOver]] [[select]] 1] [[set3DENObjectType]] "B_crew_F";
|p1= objects: [[Array]] of [[Object]]s
// turns object under cursor into a blufor crewman
</code>|= EXAMPLE1
____________________________________________________________________________________________


|
|p2= classname: [[String]] - name of the cfgVehicles class
[[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]]
|= SEEALSO


| |= MPBEHAVIOUR
|r1= [[Nothing]]
____________________________________________________________________________________________
}}


<h3 style='display:none'>Notes</h3>
|x1= <sqf>[get3DENMouseOver select 1] set3DENObjectType "B_crew_F"; // turns object under cursor into a blufor crewman</sqf>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<!-- DISCONTINUE Notes -->


 
|seealso= [[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]]
<h3 style='display:none'>Bottom Section</h3>
}}
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: Eden Editor|{{uc:{{PAGENAME}}}}]]

Latest revision as of 11:44, 5 May 2024

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