Game Development Community

Spawning an Object

by Fucifer · in Torque Game Engine · 12/21/2006 (10:31 am) · 3 replies

I final got my script working for spawning an object when shooting another object and destroying it. I have this coming up in the console.

Con::execute - 0 has no namespace: onNewDataBlock

Does have any ideas how to fix this? It does not seem be an error.

#1
12/21/2006 (4:27 pm)
I have been doing some testing and research. The error seem not to be coming from my spawning an object script. I create second spawning script to spawn a gun when chest is destroy. The error is not happening with the new one. I am pretty sure the error is actually coming from Torque 1.5.0 health.cs file. Now I will have trace the problem dowm with that cs file.
#2
12/23/2006 (4:43 am)
Quote:Con::execute - 0 has no namespace: onNewDataBlock

I've seen that line in the console also. I can't remember where, but I'll see if I can find it again.

Tony
#3
12/23/2006 (7:45 am)
It has something do with the health.cs, I am 99 percent on that. I have try various scripts I have written. All the objects will spawn without this error. When get some time I going to look at the health.cs. I can even spawn the AiGuard in the mission file without this error. The research I did said something about because it should be gamebase object.