OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: VS-UK Makkie on 10 Sep 2002, 00:04:36

Title: Probably a simple question
Post by: VS-UK Makkie on 10 Sep 2002, 00:04:36
Hi Guys,

I am fairly new to scripting, i need a script that takes for example a whole load of Russian soldiers and when they are all dead.. thats the trigger..
i know the long way round, by naming them all and then putting loads of Not(alive name) triggers in.. but there was a way, using something like russianUnits = Units This

I used to have something that did it, but lost it in a reinstall.

many thanks

makkie
Title: Re:Probably a simple question
Post by: CrashnBurn on 10 Sep 2002, 08:13:24
You can make a large radius trigger to cover the whole battlefield. Make it of type-
East Present
condition- west countside thislist == 0
on activation- whatever you want
Title: Re:Probably a simple question
Post by: Mike on 10 Sep 2002, 16:14:00
or make the trigger with a radius larger than the battle field, make it "East" and "Not_Present"

then when all east units leave or die from the radius the trigger activates

Maybe not what you wanted