Bug/reversion in setAimObject?
by Dave · in Torque Game Engine Advanced · 01/25/2006 (6:07 am) · 3 replies
Hi,
Working through the AI tutorial on the TDN TSE site, I came across this statement
***********
Fortunately, there is an addition to TGE 1.4 that allows you to specify an offset to add to the setAimObject's position:
Bob.setAimObject(Dirk, "0 0 1");
************
This doesn't in fact seem to work. I get a "wrong number of arguments" message in the console. Using the first arg on its own works fine.
Is this an update that hasn't made it through to TSE somehow or is the tutorial wrong?
Thanks,
Dave.
Working through the AI tutorial on the TDN TSE site, I came across this statement
***********
Fortunately, there is an addition to TGE 1.4 that allows you to specify an offset to add to the setAimObject's position:
Bob.setAimObject(Dirk, "0 0 1");
************
This doesn't in fact seem to work. I get a "wrong number of arguments" message in the console. Using the first arg on its own works fine.
Is this an update that hasn't made it through to TSE somehow or is the tutorial wrong?
Thanks,
Dave.
About the author
Torque Owner Dave
http://www.garagegames.com/mg/forums/result.thread.php?qt=19984
Thanks,
Dave.