createTrigger: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| ofpr |= Game name | |||
|1.86|= Game version | |||
____________________________________________________________________________________________ | |||
| Creates a new trigger on the given position. An object of the given type is created; this type must be a class name in CfgNonAIVehicles or CfgVehicles with simulation=detector. |= Description | |||
____________________________________________________________________________________________ | |||
''' | | '''createTrigger''' [type, position] |= Syntax | ||
|p1= [type, position]: [[Array]] |= Parameter 1 | |||
| [[Object]] |= Return value | |||
____________________________________________________________________________________________ | |||
|x1= <pre>trigger = createTrigger ["EmptyDetector", [[position]] [[player]] ]</pre> |= Example 1 | |||
____________________________________________________________________________________________ | |||
| |= See also | |||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
[[Category:Scripting Commands|CREATETRIGGER]] | |||
[[Category:Scripting Commands OFP Elite |CREATETRIGGER]] | |||
[[Category:Scripting Commands ArmA|CREATETRIGGER]] | |||
Revision as of 23:08, 1 August 2006
Description
- Description:
- createTrigger [type, position]
- Groups:
- Uncategorised
Syntax
- Syntax:
- Object
- Parameters:
- [type, position]: Array
- Return Value:
- Return value needed
Examples
- Example 1:
trigger = createTrigger ["EmptyDetector", [[position]] [[player]] ]
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