triggerAttachObject: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
m (Text replacement - "<dd class="notedate">Posted on ([^<>]+) " to "<dd class="notedate">Posted on $1</dd> ")
Line 25: Line 25:
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->


<dd class="notedate">Posted on October 31, 2013
<dd class="notedate">Posted on October 31, 2013</dd>
<dt class="note">[[User:Killzone_Kid|Killzone_Kid]]
<dt class="note">[[User:Killzone_Kid|Killzone_Kid]]
<dd class="note">This command doesn't quite work in Arma 3 [http://feedback.arma3.com/view.php?id=15750]<br><br>
<dd class="note">This command doesn't quite work in Arma 3 [http://feedback.arma3.com/view.php?id=15750]<br><br>

Revision as of 01:17, 30 January 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Triggers

Syntax

Syntax:
Syntax needed
Parameters:
triggerName: Object
objectId: Number
Return Value:
Return value needed

Examples

Example 1:
_trigger triggerAttachObject 1234;

Additional Information

See also:
See also needed

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
Posted on October 31, 2013
Killzone_Kid
This command doesn't quite work in Arma 3 [1]

Further investigation reveals that objectId param for this command is some kind of map id and not the id you can see in the editor. This map id could be seen in multiplayer when looking at netId of the static objects, for example "1:-23984219837", the -23984219837 would be the objectId. Unfortunately it still doesn't work.