Page 1 of 1

the "NOT" modifier

Posted: Sat Feb 17, 2018 8:08 pm
by vettim89
is there anywhere with documentation of how to use the "NOT" modifier in triggers?

For an example, if a trigger is "Unit Enters Area" does the "NOT" modifier turn it into "Unit Leaves Area"?

RE: the "NOT" modifier

Posted: Sat Feb 17, 2018 8:47 pm
by michaelm75au
'NOT' in this case does means NOT in the area.

However, there is a flag that can be set by Lua for a unit leaving the area.[Hasn't been added to the form in Command]

SE_SetTrigger({...,ExitArea=true,...}

Has been awhile since I created this, but it did work in the past.

RE: the "NOT" modifier

Posted: Sat Feb 17, 2018 10:27 pm
by michaelm75au
Ahh.. for the Exit to work, it needs to register that they 'entered the area' so needs a active 'Unit enters area' Event.