AIControl
by John Carroll · in Torque Game Engine Advanced · 11/13/2007 (4:07 pm) · 0 replies
Hi, I need to be able to enter a game as a player, but not allow keyboard input, but rather control the player via ai commands. I've been able to create the player as an AIPlayer, but when I issue commands they have no effect. I was under the impression that I should be able to use AIConnection and or AIClient, but when I do this, I get no rendering at all. The idea here is that I don't want the player to be able to control his avatar, I want to move the avatar to various waypoints (with a delay, and a sequence of events that happen at each waypoint), the player will never be able to control the avatar through the keyboard. I need to be able to use the setmovedestination, setmovespeed, and setaimobject/setaimlocation commands. What needs to happen to allow this?
Thanks!!!
John
Thanks!!!
John
About the author
Working on using Torque as an Image Generator for Tactical Simulations under laser and live fire conditions, for Law Enforcement/Military applications.