createTrigger: Difference between revisions
Jump to navigation
Jump to search
m (Fixed description) |
(expanded) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| 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 <nowiki>=</nowiki> detector. |= Description | | 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 <nowiki>=</nowiki> detector. | |||
An array containing all units that have activated the trigger is available via [[list]] ''triggerobj''. | |||
|= Description | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 17: | Line 22: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code> | |x1= <code>trgobj <nowiki>=</nowiki> createTrigger ["EmptyDetector", [[position]] [[player]] ]<br> | ||
_trgunits <nowiki>=</nowiki> list trgobj</code> |= Example 1 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| |= See also | |[[setTriggerActivation]], [[setTriggerArea]], [[setTriggerStatements]], [[setTriggerText]], [[setTriggerTimeout]], [[setTriggerType]] |= See also | ||
}} | }} |
Revision as of 06:55, 11 January 2007
Description
- Description:
- 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. An array containing all units that have activated the trigger is available via list triggerobj.
- Groups:
- Uncategorised
Syntax
Examples
Additional Information
- See also:
- setTriggerActivationsetTriggerAreasetTriggerStatementssetTriggerTextsetTriggerTimeoutsetTriggerType
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