Instant player action on server join.
by Anders Jacobsen · in Torque Game Engine · 02/02/2005 (8:55 am) · 5 replies
Hi, I've been poking around for a few hours and tried a few ideas, but I can't seem to make a player who joins (vehicle) the server get a vehicle and get control of it. I have to cycle the game... I don't want that ;)
(Working off of racing starter kit)
I want the player to get a vehicle and go off when joining, not having to wait for the game to cycle...
Any ideas?
(Working off of racing starter kit)
I want the player to get a vehicle and go off when joining, not having to wait for the game to cycle...
Any ideas?
#2
Even tried calling the spawncar fun from ongameenter
02/02/2005 (9:13 am)
I don't mount players on vehicles. the client controls the vehicle directly.Even tried calling the spawncar fun from ongameenter
#3
06/17/2005 (1:59 am)
Btw, fixed this... it was rather trivial since it was all in script.
#4
07/22/2005 (5:01 am)
He spawned the client AS the vehicle, most likely. At least, that what we're doing.
#5
07/22/2005 (5:47 am)
You put an if statement before the game is started to check if there are any players? If not, return false. If there are players, proceed.
Torque Owner Mike Kuklinski