Game Development Community

AIWheeledVehicle TGEA 1.7

by CodingChris · in Torque Game Engine Advanced · 06/22/2008 (3:40 am) · 1 replies

Hi,

What I want to do:
My goal is to get a AIVehicle which works like the AIPlayer object. The only thing I want to implement is the setDestination function but that is complicated enough. I tried to convert the AIWheeledVehicle to resource to get that function but when I try to use it in the game it does nothing. I had to remove the realcomp include but don't know what effect that takes. Anyone got an idea?

Christian

#1
07/22/2008 (1:06 pm)
Just tried this in 1.7.1 and had the same problem but added
$Bot.followPath("MissionGroup/TrackPath",-1);

After
$Bot = CreateAIWheeledVehicle("MasterBlaster", "MissionGroup/TrackPath");

Works like a charm.