Triggers: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Fix redirection)
Tag: Redirect target changed
 
(47 intermediate revisions by 17 users not shown)
Line 1: Line 1:
'''Description:'''
#REDIRECT [[Trigger]]
 
'''Condition''' expression is used to determine when the trigger is activated.<br>
[[Boolean]] variable '''this''' is set during evaluation of condition expression to primary sensor activation condition.<br>
Array variable '''thisList''' is set to list of all vehicles that would satisfy primary sensor activation condition.<br>
Condition must return [[Boolean]] value.
 
'''On Activation''' and '''On Deactivation''' expressions define action that is peformed when trigger condition changes to [[true]] or [[false]].<br>
Expression must either be an assignment or return nothing (see type [[Nothing]]).<br>
Variable denoting trigger can be created by filling in [[name]] field.
 
 
[[Category: Scripting_Topics ]]

Latest revision as of 18:36, 15 July 2022

Redirect to: