Changing player control to another player
by AzraelK · in General Discussion · 01/23/2002 (8:47 am) · 1 replies
This may sound weird since AI is not working yet.. but we really need to know if this is possible (or how hard will it be to do)
What we want is to load player1 a player model and player2 a bot, then.. at some point we want to take control of player2, and then back to player1. (like in rainbow six remember?)
how hard will it be to do this?
What we want is to load player1 a player model and player2 a bot, then.. at some point we want to take control of player2, and then back to player1. (like in rainbow six remember?)
how hard will it be to do this?
Torque 3D Owner Luigi Rosso
client.setControlObject(object);
I think you can call it on a player object too. You can set control to turrets, vehicles, and players.
You can check if someone is controlling the object via:
object.getControllingClient();
I think those are correct method names. NOTE this is SCRIPT side I don't know how it'll be in the TGE.