OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Headhunter on 20 May 2003, 18:34:10
-
Is there anyone who know a script that destroys EVERYTHING (tanks, planes, infantery...) within the radius???
-
give everyting a name (every playns, every soldier)
And wright this in the trigger activation.
name_1 setDammage 1;name_2 setDammage 1;name_3 setDammage 1;......................
name_1 is the name of one of the soldiers/unit/plain that is going to die when the trigger is activated.
ThatÂ's one way, alot of writing, but it works.
-
Or you can try this. A bit less writing ;)
"_x setdammage 1" foreach thislist
If you set the activation to "West present", all the west unit in the trigger will die.
If you set the activation to "Anybody present", all the units in the trigger will die, and so on... ;D