triggerAttachObject: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 6: Line 6:




<h2 style="color:#000066">''trigger'' ''''' triggerAttachObject ''''' ''objectId''</h2>
<h2 style="color:#000066">'''''trigger'' triggerAttachObject ''objectId'''''</h2>




'''Operand types:'''
'''Operand types:'''


trigger: [[Object]]
'''trigger:''' [[Object]]


objectId: [[Number]]
'''objectId:''' [[Number]]


'''Type of returned value:'''
'''Type of returned value:'''


Nothing
[[Nothing]]


'''Compatibility:'''
'''Compatibility:'''
Line 25: Line 25:
'''Description:'''
'''Description:'''


Assigns a static object to the trigger. The activation source is changed to "STATIC".
Assigns a static object to the trigger.
 
The activation source is changed to "STATIC".
 


'''Example:'''
'''Example:'''


  trigger triggerAttachObject 1234
  trigger '''triggerAttachObject''' 1234

Revision as of 20:30, 29 June 2006



trigger triggerAttachObject objectId


Operand types:

trigger: Object

objectId: Number

Type of returned value:

Nothing

Compatibility:

Version 1.86 required.

Description:

Assigns a static object to the trigger.

The activation source is changed to "STATIC".


Example:

trigger triggerAttachObject 1234