get3DENAttribute: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 25: Line 25:


|  
|  
[[get3DENMouseOver]]
[[set3DENAttribute]]
[[add3DENConnection]]
[[add3DENEventHandler]]
[[all3DENEntities]]
[[collect3DENHistory]]
[[create3DENComposition]]
[[create3DENEntity]]
[[current3DENOperation]]
[[delete3DENEntities]]
[[do3DENAction]]
[[get3DENActionState]]
[[get3DENCamera]]
[[get3DENConnections]]
[[get3DENEntityID]]
[[get3DENGrid]] 
[[get3DENIconsVisible]]
[[get3DENLinesVisible]]
[[get3DENSelected]]
[[is3DEN]]
[[is3DENMultiplayer]]
[[move3DENCamera]]
[[remove3DENConnection]]
[[remove3DENEventHandler]]
[[removeAll3DENEventHandlers]]
[[set3DENAttributes]]
[[set3DENAttributes]]
[[set3DENGrid]]
[[set3DENMissionAttributes]]
[[set3DENIconsVisible]]
[[get3DENMissionAttribute]]
[[set3DENLinesVisible]]
[[set3DENObjectType]]
|= SEEALSO  
|= SEEALSO  
|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 09:00, 3 March 2016

Hover & click on the images for description

Description

Description:
Returns value of a given entity's attribute in Eden Editor.

An attribute is identified by its property (data when it's engine-drive attribute) value in config. For the list of all attributes with their properties, see Setting Attributes.
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 property
Return Value:
Anything

Examples

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

Additional Information

See also:
set3DENAttribute set3DENAttributes set3DENMissionAttributes get3DENMissionAttribute

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