OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: timmylondon on 21 Jan 2003, 08:36:20

Title: How to determine if any missiles nearby?
Post by: timmylondon on 21 Jan 2003, 08:36:20
Hello,

Is it possible to make a script that check if any enemy missiles (AA missiles usually) nearby or come in your direction? I want to use them to warn chopper (player).

Thanks,
Timmy
Title: Re:How to determine if any missiles nearby?
Post by: Black_Feather on 21 Jan 2003, 16:15:07
you can use this if you have res


this addEventHandler ["incomingmissile", "Action to take"]

fill the action to take bit with the commands you want to happen