kent Posted September 29, 2016 Share Posted September 29, 2016 I'm porting a resource from TGE that utilizes a function SceneObject::scriptThis() which has been removed from the engine.The routine is just: const char* SceneObject::scriptThis() { return Con::getIntArg(getId()); } Short term, putting that back in sceneObject does what I want... but obviously the function was taken out for a reason.Is SimObject::getIdString() the correct replacement function? Quote Link to comment Share on other sites More sharing options...
JeffR Posted September 29, 2016 Share Posted September 29, 2016 Yeah, getId or getIdString should be what you want. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.