get3DENAttribute: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns value of a given entity's attribute in | | Returns value of a given entity's [[Eden_Editor:_Entity_Attributes|attribute]] in [[Eden Editor]]. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''get3DENAttribute''' attribute|= Syntax | | entity '''get3DENAttribute''' attribute|= Syntax | ||
|p1= attribute: [[String]] - | |p1= entity: [[Eden Entity]] | ||
|p2= attribute: [[String]] - attribute class |= PARAMETER1 | |||
| [[Anything]] |= RETURNVALUE | | [[Anything]] |= RETURNVALUE | ||
|x1= <code>[[systemChat]] [[str]] (([[get3DENMouseOver]] [[select]] 1) [[get3DENAttribute]] "name"); | |x1= <code>[[systemChat]] [[str]] (([[get3DENMouseOver]] [[select]] 1) [[get3DENAttribute]] "name"); |
Revision as of 17:24, 2 November 2015
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
[[Category:Introduced with arma3dev version 1.52]][[ Category: arma3dev: New Scripting Commands | GET3DENATTRIBUTE]][[ Category: arma3dev: Scripting Commands | GET3DENATTRIBUTE]]
Notes