Home   Help Search Login Register  

Author Topic: How I do so that the trucks don't leave the road?  (Read 1547 times)

0 Members and 3 Guests are viewing this topic.

Offline Aldo15

  • OFP-addict
  • Former Staff
  • ****
    • My OFP missions
How I do so that the trucks don't leave the road?
« on: 21 Feb 2011, 14:28:14 »
Does anyone know what I must do so that bastard trucks don't leave the road? :banghead:
I've tried and tried, but the damn drivers don't follow their way  :banghead:

I'm sorry for the above.... I'm very angry!!!

Regards,
Aldo
My OFP stuff
FMF Project by Aldo15. Coming soon.
If in the high school or university, Teachers add a new subject about how to make scripts, missions, for ofp. I'd be number one of my classroom

Offline Rellikki

  • Members
  • *
  • Die-hard OFP player
Re: How I do so that the trucks don't leave the road?
« Reply #1 on: 21 Feb 2011, 15:24:34 »
Try setting their behaviour to either safe or careless:

Quote
(driver truck_name) setBehaviour "safe"

Or simply change the behaviour setting from the waypoint's settings.

Offline Aldo15

  • OFP-addict
  • Former Staff
  • ****
    • My OFP missions
Re: How I do so that the trucks don't leave the road?
« Reply #2 on: 21 Feb 2011, 15:36:42 »
I've that.

I've also put the speed: limited, but they don't follow their way.
My OFP stuff
FMF Project by Aldo15. Coming soon.
If in the high school or university, Teachers add a new subject about how to make scripts, missions, for ofp. I'd be number one of my classroom

Offline Rellikki

  • Members
  • *
  • Die-hard OFP player
Re: How I do so that the trucks don't leave the road?
« Reply #3 on: 21 Feb 2011, 15:45:17 »
Well there's not much else that you can do anymore. But there has to be a reason the AI takes off the road - Make sure the road isn't blocked or anything like that. You could also try placing some obstacles alongside the road where the vehicles usually drive off to make sure they won't use that way anymore.

Offline Aldo15

  • OFP-addict
  • Former Staff
  • ****
    • My OFP missions
Re: How I do so that the trucks don't leave the road?
« Reply #4 on: 21 Feb 2011, 15:57:36 »
I'll try do it,

Thanks you!!!

Regards,
Aldo
My OFP stuff
FMF Project by Aldo15. Coming soon.
If in the high school or university, Teachers add a new subject about how to make scripts, missions, for ofp. I'd be number one of my classroom