OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: SafetyCatch on 28 Aug 2002, 20:05:36

Title: dont shoot that we have to steal it!!
Post by: SafetyCatch on 28 Aug 2002, 20:05:36
I've made a mission where my team (2 spec ops and 1 Law) have to take a fort and steal a tank
the problem i have is as soon as the game starts my rpg guy nukes the tank
what can i do to make him stop doing this
(btw the tank is empty and ive tried "this setcaptive true" in its init)
thanks  :)
sc
Title: Re:dont shoot that we have to steal it!!
Post by: icarus_uk on 28 Aug 2002, 20:34:58
Everyone will tell you to put This SetCaptive TRUE.  Then you will come back saying youve done that and it doesnt work.  Then they will tell you to do it again.  Then you will try again, then say it still doesnt work.  Then everyone will stop replying as they dont know the answer.

Thought Id save everyone the time.
Title: Re:dont shoot that we have to steal it!!
Post by: SafetyCatch on 28 Aug 2002, 20:57:42
that doesnt help - is there not a solution??
Title: Re:dont shoot that we have to steal it!!
Post by: Dr. Egg on 28 Aug 2002, 21:38:38
i have a sort of idea but it might nt fit your needs,
if you make a waypoint then 1 of the boxes will have firing methods, maybe set the waypoint to never fire?
BUT they will not fire on the enemy either
Title: Re:dont shoot that we have to steal it!!
Post by: CrashnBurn on 29 Aug 2002, 00:32:51
Try opening the sqm file with notepad and changing the side from east/west to CIV
Title: Re:dont shoot that we have to steal it!!
Post by: SafetyCatch on 29 Aug 2002, 01:16:46
thanks yer i didnt think of that
 :)
Title: Re:dont shoot that we have to steal it!!
Post by: Pow3r on 29 Aug 2002, 03:16:25
put solved please
Title: Re:dont shoot that we have to steal it!!
Post by: cinevistaman on 29 Aug 2002, 05:18:25
another alternative that has worked for me in 1.46---
setcaptive, make the tank an empty tank, and remove magazines in the init field.

magazines can be replaced with a trigger as you near the tank

this worked with a chopper  --can't guarantee with a tank, but seems that it should work :)
Title: Re:dont shoot that we have to steal it!!
Post by: cinevistaman on 29 Aug 2002, 05:29:57
this is a correction to my suggestion above.

the trigger to replace the magazines should actually be based on the condition of you and-or your teammates entering the tank as driver, commander, or gunner, etc.

just an idea -- play around with it -- hope it helps

 :)
Title: Re:dont shoot that we have to steal it!!
Post by: FlidMerchant on 29 Aug 2002, 09:03:39
I never got this to work.In the end I had to stop any of y guys having LAWs.I tried changing the mission.sqm to civ but it still didn't work.(He reports the target, and aims his LAW at it, but doesn't fire)