truck passengers

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
User avatar
Franko74
Corporal
Posts: 45
Joined: Sat Jan 03, 2004 12:48 am
Location: Hungary
Contact:

truck passengers

Post by Franko74 »

Hi,
how i can get the next:
i made a truck method (truck with pasengers, and path, and vehicle thinkrs.src, blah-blah..)

..and when truck stop, the passengers stand on back of truck, and shot at the players.
But they don't get down.. why? :?

They should get down, and do something (run to foxhole, or something)

Any idea? :idea:

F74
vonderbakluft
Corporal
Posts: 46
Joined: Fri Aug 01, 2003 11:15 am
Location: NL
Contact:

Post by vonderbakluft »

Are you sure that your truck has completely traveled the path?

If not and the truck comes in a stuck position (sharp angles or blocking brushes/meshes) the unload routine of the truck isnt fired since the truck never ended its path.

You can check simply by listening if you hear the engine of the truck running when it's stopped. (Then it didnt complete its path)

Von
Real mappers map in wordpad ;-)
Angex
Major
Posts: 293
Joined: Mon Dec 30, 2002 1:23 pm
Contact:

Post by Angex »

If you're still having problems you could try unloading the truck manually.

Code: Select all

$myTruck exec global/vehicle_thinkers.scr::truck_unload
User avatar
Franko74
Corporal
Posts: 45
Joined: Sat Jan 03, 2004 12:48 am
Location: Hungary
Contact:

Post by Franko74 »

Thanks guys, i'll try it.
Post Reply