triggerAttachObject: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|TRIGGERATTACHOBJECT]]
{{Command|= Comments
[[Category:Scripting Commands OFP Elite |TRIGGERATTACHOBJECT]]
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA|TRIGGERATTACHOBJECT]]


| ofpr |= Game name


<h2 style="color:#000066">'''''trigger'' triggerAttachObject ''objectId'''''</h2>
|1.86|= Game version
____________________________________________________________________________________________


| Assigns a static object to the trigger. The activation source is changed to "STATIC". |= Description
____________________________________________________________________________________________


'''Operand types:'''
| trigger '''triggerAttachObject''' objectId |= Syntax


'''trigger:''' [[Object]]
|p1= trigger: [[Object]] |= Parameter 1


'''objectId:''' [[Number]]
|p2= objectId: [[Number]] |= Parameter 2


'''Type of returned value:'''
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>trigger triggerAttachObject 1234</pre> |= Example 1
____________________________________________________________________________________________


[[Nothing]]
|  |= See also


'''Compatibility:'''
}}


Version 1.86 required.
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


'''Description:'''
<!-- Note Section END -->
</dl>


Assigns a static object to the trigger.
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|TRIGGERATTACHOBJECT]]
The activation source is changed to "STATIC".
[[Category:Scripting Commands OFP Elite |TRIGGERATTACHOBJECT]]
 
[[Category:Scripting Commands ArmA|TRIGGERATTACHOBJECT]]
 
'''Example:'''
 
trigger '''triggerAttachObject''' 1234

Revision as of 23:55, 1 August 2006

Hover & click on the images for description

Description

Description:
Assigns a static object to the trigger. The activation source is changed to "STATIC".
Groups:
Uncategorised

Syntax

Syntax:
trigger triggerAttachObject objectId
Parameters:
trigger: Object
objectId: Number
Return Value:
Nothing

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

Notes

Bottom Section