Game Development Community

AIPlayer problem

by Marcin Zygmunt · in Torque Game Engine Advanced · 08/11/2005 (12:14 pm) · 2 replies

Hi
I want to create my player object as AIPlayer, I'v done it in TGE and it worked fine but in TSE i have some problems with that. Here is console log:

terrain_water_demo/server/scripts/aiplayer.cs (72): Register object failed for object (null) of class AIPlayer.
Set::add: Object "0" doesn't exist
terrain_water_demo/server/scripts/game.cs (291): Unable to find object: '0' attempting to call function 'setTransform'
terrain_water_demo/server/scripts/game.cs (292): Unable to find object: '0' attempting to call function 'getDataBlock'
terrain_water_demo/server/scripts/game.cs (292): Unable to find object: '0' attempting to call function 'setEnergyLevel'
terrain_water_demo/server/scripts/game.cs (293): Unable to find object: '0' attempting to call function 'setShapeName'

Any idea what's wrong?

#1
08/11/2005 (4:19 pm)
My guess would be that there is an issue with your datablock definition.
#2
08/12/2005 (8:31 am)
Ok it works.