Game Development Community

Remove player from C

by Telmo Menezes · in Torque Game Engine · 06/16/2005 (12:16 pm) · 1 replies

Hi,

If somebody could please help me with this...

I'd like to be able to remove players and aiplayers from the mission using only C++. I don't want to hide them, I really want to remove the object and everything associated. Tried calling onRemove() but the engine crashes. Any ideas?

Regards and TIA
Telmo Menezes

#1
06/16/2005 (12:53 pm)
I'd find out what normally calls "OnRemove", and backtrack from there until you come up with something you can call legitmately.