OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Lihamatti on 13 Jul 2004, 00:51:25

Title: How to make unit under "dofire" stop firing?
Post by: Lihamatti on 13 Jul 2004, 00:51:25
I want to make a police to follow me and when he gets close, shoot me, and then again follow me, and so on. But the problem is that he won't follow me or follows like 0.1m and starts firing again. I used dofire in my script and now I can't make the police stop firing. I tried DisableAI "TARGET" and SetBehaviour "BLUE" but the police still keeps firing at me. Any ideas?
Title: Re:How to make unit under "dofire" stop firing?
Post by: dmakatra on 13 Jul 2004, 11:49:09
Try removing the mags after one shot, then add em, then remove em, etc.

:beat: *Gets Shot* :beat:
Title: Re:How to make unit under "dofire" stop firing?
Post by: Lihamatti on 13 Jul 2004, 13:00:21
Thanks! However removing mags didn't help but removing allweapons did the job. ;D