OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: THobson on 27 Mar 2005, 14:43:54

Title: Player keeps going to safe mode in vehicles
Post by: THobson on 27 Mar 2005, 14:43:54
I posted this under General becasue I hope it is simple.

In my mission I my player has started going into safe mode in a vehicle.  I have my primary weapon in hand when I board a vehicle, but whenever I get out I have no weapons in hand.

Is there a simple fix anyone knows?
Title: Re:Player keeps going to safe mode in vehicles
Post by: bedges on 27 Mar 2005, 15:12:32
a 'getout' event handler? i've noticed this too, although it happens mostly with cars in my case. tanks (and perhaps other armed vehicles) don't produce this effect in my experience. as for the event handler, is it even possible to force the players' combat mode?
Title: Re:Player keeps going to safe mode in vehicles
Post by: THobson on 27 Mar 2005, 18:34:06
My brain is hurting with a lot of other problems I am having to deal with in the mission.  How do I fix this?
Title: Re:Player keeps going to safe mode in vehicles
Post by: Planck on 27 Mar 2005, 18:52:27
A couple of Co-Dydramol or Paracetamol should do the trick.

Sorry, I don't have a clue about the original problem, although I have come across it before.......very annoying.


Planck
Title: Re:Player keeps going to safe mode in vehicles
Post by: THobson on 27 Mar 2005, 20:01:01
Thank you Planck!!  

Well whatever the problem is I hope it is random.  I have put v 1.1 of Abandoned Armies on the beta site so I may soon find out.
Title: Re:Player keeps going to safe mode in vehicles
Post by: h- on 27 Mar 2005, 23:03:14
Does the player's init field read this setBehaviour "safe" (or some variation) by any chance??

Because the man class' init gets executed every time 'he' exits a vehicle...