Hey Iarwain, I'm trying to get the name of a scroll object - in this case, my menu object. If I use
[code]
std::string(orxObject_GetName(this->GetOrxObject))
[/code
everything works fine. Butif I try to use this->GetObject, the name instead of being "Menu" comes out RT0006. Why is that happening?
Comments
From that name you can infer if it's an object created by the editor or in-game during runtime.
If you want the section name that is bound to that ScrollObject, the method is GetModelName() instead.