OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: dertn on 26 Mar 2003, 19:22:37

Title: *in a hurry*
Post by: dertn on 26 Mar 2003, 19:22:37
Hey all :)

I have a scenario where the east attacks a western base. The scenario ends when all west soldiers are dead.

Ive used a trigger to perform the ending action:

East Present, once, end#1, (count units eg1 == 0) and (count units eg2 == 0) and (count units eg3 == 0) in the condition, where eg1-3 are the western soldier groups.

But it won't work..

Any tips?

Thanx in advance

*in a hurry*
Title: Re:*in a hurry*
Post by: macguba on 26 Mar 2003, 19:26:35
If you want it to be East present and all the west loons dead, then you should have

Area:  as you like
Activation box:   East present
Type:   End#1
condition:    this and  (count units eg1 == 0) and (count units eg2 == 0) and (count units eg3 == 0)


If you don't care about the East present part then have

Activation box:   None      (the default)
Conditon:   (count units eg1 == 0) and (count units eg2 == 0) and (count units eg3 == 0)
Title: Re:*in a hurry*
Post by: dertn on 26 Mar 2003, 19:44:34
Thank you :)