SA-MP Forums Archive
NPC Trailers - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: NPC Trailers (/showthread.php?tid=105672)



NPC Trailers - Mattjones17 - 30.10.2009

Hi
Is it possible to have NPCs attach trailers to their vehicles (ie a staircase trailer on a baggage).
I considered spawning a staircase via CreateVehicle and then reversing a baggage into it so that it connects up while recording, but will this work? Is there a better way of doing it?

Thanks
Matt


Re: NPC Trailers - InojAye - 27.11.2009

I think It is possible. Did you not try it. You should try maybe it will work. Somebody told me this . So just try if want to.


_________________
private labeling


Re: NPC Trailers - [XST]O_x - 27.11.2009

https://sampwiki.blast.hk/wiki/AttachTrailerToVehicle


Re: NPC Trailers - chaosnz - 27.11.2009

i tried to set up a bot driving around in a tanker and then picking up a trailer, i recorded the bot backing into the trailer and then driving off, when i tested the bot, it backed up, but it backed up and wasnt aligned with the trailer. I ended up spawning a trailer in the path of the backing up truck, it attached itself then after about 30-40 seconds of driving away, the trailer disappeared.

If there was a way to stop the trailer from disappearing then you could i imagine, have any bot towing trailers around. I mean hey, it would be good to see a bot driving a baggage car towing a staircase like you said. It certainly would help with the at-400 height..