OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: tai mai shu on 27 Aug 2002, 03:47:25
-
hey guys, im wondering:
1) how do i make a script that ONLY foot soldiers (no vehicles) whill activate a script, and when activated, the soldier activates a script? "[footsoldier] exec "myscript.sqs""
2) how do i make a script that ONLY wheeled vehicles/tanks activate, and make the VEHICLE (not the crew) activate the script. "[vehicle] exec "myscript.sqs"
3) how do i make a script that ONLY choppers (i only care about choppers, it can include planes also though) activate. and again, only the chopper andno the crew is sent to the script. "[chopper] exec myscript.sqs"
any response will be GREATLY appreciated
sincerely,
tai mai shu
-
For a radius trigger you're conditions would go as follows:
1.) this and ("man" counttype thislist) > 0
2.) this and ("land" counttype thislist) > 0
3.) this and ("air" counttype thislist) > 0
-
Yeap... and just make sure the condition is set to present, (ie. West present, east present, anyone present) as thislist is defined by what you've got the present condition set to...
Also, the:
this and "man"...
part isn't necessary ;)
If there are more than zero "man" units in the trigger, the this condition will be satisfied anyway...
-
thanks guys, responses were very much appreciated. TOPIC SOLVED. ;D