setEffectCondition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 3: Line 3:
[[Category:Scripting Commands ArmA|SETEFFECTCONDITION]]
[[Category:Scripting Commands ArmA|SETEFFECTCONDITION]]


<new command not populated>


<h2 style="color:#000066">'''''trigger or waypoint'' setEffectCondition ''statement'''''</h2>


<h2 style="color:#000066">''''' setEffectCondition '''''</h2>


'''Operand types:'''


'''Operand types:'''
'''trigger or waypoint:''' [[Object]] or [[Array]]
 
'''statement:''' [[String]]


'''Type of returned value:'''
'''Type of returned value:'''
[[Nothing]]


'''Compatibility:'''
'''Compatibility:'''
Version 1.86 required.


'''Description:'''
'''Description:'''


The statement is executed when the trigger or waypoint is activated and the effects are launched depending on the result. If the result is a boolean and true, the effect was launched. If the result is an object, the effect was launched if the result is the player or the player vehicle. If the result is an array, the effect was launched if the result contains the player or the player vehicle.


'''Example:'''
'''Example:'''
trigger setEffectCondition "thisList"

Revision as of 14:06, 3 July 2006


trigger or waypoint setEffectCondition statement


Operand types:

trigger or waypoint: Object or Array

statement: String

Type of returned value:

Nothing

Compatibility:

Version 1.86 required.

Description:

The statement is executed when the trigger or waypoint is activated and the effects are launched depending on the result. If the result is a boolean and true, the effect was launched. If the result is an object, the effect was launched if the result is the player or the player vehicle. If the result is an array, the effect was launched if the result contains the player or the player vehicle.

Example:

trigger setEffectCondition "thisList"