Jump to content

Porting question ... scriptThis() replacement function.


Recommended Posts

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?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...