OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Judge856 on 14 Apr 2003, 04:43:36

Title: Taking a town
Post by: Judge856 on 14 Apr 2003, 04:43:36
How can I make a town East, then once all east units are destroyed and the West is present in the town, to make the town appear WEST and vice versa, I know the trigger West present, but how do I make it EAST or vice versa.
Title: Re:Taking a town
Post by: Artak on 14 Apr 2003, 08:38:10
set the trigger activation to east and type in the condition field

this and countside west < 1

for west set the trigger activation to west and type in the cond

this and countside east < 1

the first one will be activated when east is present and there's no west in the triggers area. the second will activate when west is present and no east units are in the trigger area.
Title: Re:Taking a town
Post by: Judge856 on 14 Apr 2003, 20:23:35
Thanks, but when I type

this and countside west < 1

It says Reserved variable in expressions and the cursor moves to the end of countside. Any ideas?
Title: Re:Taking a town
Post by: Artak on 14 Apr 2003, 21:58:30
erm..  :-[

Just got home and checked the syntax. It's

west countside thislist < 1

so the whole thing would go

this and west countside thislist < 1
or
this and east countside thislist < 7