Mounting on Spawn
by N · in Torque Game Engine · 01/20/2008 (9:12 am) · 2 replies
When a game starts, I need each player to spawn mounted on a vehicle. How do I go about doing this?
What I'm thinking is that I would need to go to the player spawn code, spawn a vehicle next to the player, then mount the vehicle. Would this work, or is there a better way?
What I'm thinking is that I would need to go to the player spawn code, spawn a vehicle next to the player, then mount the vehicle. Would this work, or is there a better way?
About the author
#2
01/30/2008 (7:58 am)
Thanks, but I figured it out. I already had mountable vehicles, so when the client connected, I spawned a vehicle at their coordinates and mounted it. It was a lot easier than I expected it to be.
Torque Owner Lee Latham
Default Studio Name
In my game, I have bots who spawn with a vehicle between them and their first path point, for example, so that can work, too. Depends on what you want.