get3DENAttribute: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(Undo revision 94640 by Revo (talk) (Moricky added a proper note))
Line 69: Line 69:
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: Eden Editor|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: Eden Editor|{{uc:{{PAGENAME}}}}]]
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on February 29, 2016 - 16:06 (UTC)</dd>
<dt class="note">[[User:Revo|Revo]]</dt>
<dd class="note">
According to Karel Mořický the command can only be used inside the editor. The attribute itself will not be available during preview.
</dd>
</dl>
<!-- DISCONTINUE Notes -->

Revision as of 10:41, 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