get3DENAttribute

From Bohemia Interactive Community
Revision as of 17:06, 29 February 2016 by R3vo (talk | contribs)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Returns value of a given entity's attribute in Eden Editor.
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.