Errr can't insert namespace in simset call seq.
by Dumbledore · in Torque Game Engine · 08/16/2008 (8:12 am) · 1 replies
For some reason I cannot get my simset object to insert a namespace in its call sequence. Here's what I've tried:
Naturally I didn't try all three methods simultaneously. I first tried setting only the name, then I tried only setting className, then superClass. None of the methods worked. Why?
%set = new SimSet(name)
{
className = name;
superClass = name;
};
name::method(%this)
{
echo("found method");
}
%set.method();
Console Says:
unable to find 'method'
SimSet -> SimObjectNaturally I didn't try all three methods simultaneously. I first tried setting only the name, then I tried only setting className, then superClass. None of the methods worked. Why?
Associate James Ford
Sickhead Games