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
-
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
-
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
-
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