triggerAttachObject: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <dd class="notedate">" to " <dt><dt> <dd class="notedate">")
m (Text replacement - "<!-- Note Section [A-Z]+ --> " to "")
Line 23: Line 23:


<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<dt><dt>
<dt><dt>
<dd class="notedate">Posted on October 31, 2013</dd>
<dd class="notedate">Posted on October 31, 2013</dd>
Line 30: Line 29:
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.
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.


<!-- Note Section END -->
</dl>
</dl>



Revision as of 01:41, 6 April 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:
attachObjectattachToattachedObjectsattachedTowaypointAttachVehiclewaypointAttachedVehiclelightAttachObjecttriggerAttachVehicleattachedObjecttriggerAttachedVehicletriggerIntervalsetTriggerIntervalenableSimulationsimulationEnabled

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.