OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: headshot_snipe on 18 May 2003, 17:28:36

Title: stop shooooting!!
Post by: headshot_snipe on 18 May 2003, 17:28:36
i wanted to know how to make a mortar from the invasion44 demo (i guess it could be any heavy gun) stop fireing once the halftrack has been disabled, cause i wanted the player to start in the half and then would have to get out without been vaporised by the mortar fire still shooting at the d**n half.

anyideas?
Title: Re:stop shooooting!!
Post by: macguba on 18 May 2003, 18:45:39
I don't know the mortar particularly, but somewhere in the mortar script you need a line something like this

? not (canMove halftrack1): exit
Title: Re:stop shooooting!!
Post by: headshot_snipe on 20 May 2003, 21:29:21
tnx mac, i'll try that right away!  :D

i always say the same thing  :P