get3DENAttribute: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns value of a given entity's [[Eden_Editor:_Entity_Attributes|attribute]] in [[Eden Editor]]. |= Description
| Returns value of a given entity's [[Eden_Editor:_Entity_Attributes|attribute]] in [[Eden Editor]].  
{{Important|Attributes are available only within the Eden Editor workspace. You cannot access them in scenario preview or exported scenario!}}
|= Description
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 09:31, 1 March 2016

Hover & click on the images for description

Description

Description:
Returns value of a given entity's attribute in Eden Editor.
Attributes are available only within the Eden Editor workspace. You cannot access them in scenario preview or exported scenario!
Groups:
Uncategorised

Syntax

Syntax:
entity get3DENAttribute attribute
Parameters:
entity: Eden Entity
attribute: String - attribute class
Return Value:
Anything

Examples

Example 1:
systemChat str ((get3DENMouseOver select 1) get3DENAttribute "name"); // returns variable name of object under cursor

Additional Information

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

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

Posted on February 29, 2016 - 16:06 (UTC)
Revo
According to Karel Mořický the command can only be used inside the editor. The attribute itself will not be available during preview.