OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: LCD on 10 Sep 2007, 22:50:22

Title: lights on and move off road ?
Post by: LCD on 10 Sep 2007, 22:50:22
im creating a patrol script dat will have some jeeps randomly patroling an area.... is dere a way 2 make em patrol off roads (as in safe behaviour dey stay on roads...) nd still have deir lights on ???

LCD OUT
Title: Re: lights on and move off road ?
Post by: Cheetah on 10 Sep 2007, 22:56:23
Put them in combat mode to make them patrol offroad (but you'll have to give them waypoints of course..)

Lights on.. uhm don't know if it toggles them on automatically. If not, you can always try using the action to switch them on?
Title: Re: lights on and move off road ?
Post by: LCD on 10 Sep 2007, 23:04:18
dey auto turn of lights when on combat... dats my prob... even if i use da action command....

LCD OUT
Title: Re: lights on and move off road ?
Post by: Mr.Peanut on 12 Sep 2007, 01:26:59
Sorry but this "feature" has been around since OFP. Try setBehaviour "STEALTH". For OFP, sometimes(as for static MG at night) the only solution was a fast loop with the "LIGHTOFF" action. Waypoint behaviour/combatmodes will always over-ride other commands or actions. I would say you need your own FSM. You could trying asking CrashDome for some advice on using an FSM to do this.