OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Aldo15 on 21 Feb 2011, 14:28:14

Title: How I do so that the trucks don't leave the road?
Post by: Aldo15 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
Title: Re: How I do so that the trucks don't leave the road?
Post by: Rellikki 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.
Title: Re: How I do so that the trucks don't leave the road?
Post by: Aldo15 on 21 Feb 2011, 15:36:42
I've that.

I've also put the speed: limited, but they don't follow their way.
Title: Re: How I do so that the trucks don't leave the road?
Post by: Rellikki 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.
Title: Re: How I do so that the trucks don't leave the road?
Post by: Aldo15 on 21 Feb 2011, 15:57:36
I'll try do it,

Thanks you!!!

Regards,
Aldo