Code: Select all
DefineEngineFunction(findSimObjectByName, S32, (const char *objName), , "")
SimObject *simObj = NULL;
simObj = Sim::findObject(objName);
I looked around in simSet and SimGroup but couldn't find anything. In case this is actually lacking in the engine, could someone give me a better idea of where it should live? I know where I put it is the wrong place, that's all I know.