triggerAttachObject: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * +\|p1=" to " |s1= $1 |p1=") |
Lou Montana (talk | contribs) m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3") |
||
Line 21: | Line 21: | ||
|gr1= Triggers | |gr1= Triggers | ||
| Assigns a static object to the trigger. The activation source is changed to "STATIC". | |descr= Assigns a static object to the trigger. The activation source is changed to "STATIC". | ||
|s1= triggerName [[triggerAttachObject]] objectId | |s1= triggerName [[triggerAttachObject]] objectId |
Revision as of 21:26, 13 June 2021
Description
- Description:
- Assigns a static object to the trigger. The activation source is changed to "STATIC".
- Groups:
- Triggers
Syntax
- Syntax:
- triggerName triggerAttachObject objectId
- Parameters:
- triggerName: Object
- objectId: Number
- Return Value:
- Nothing
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.