ShaDoOoW wrote...
So I was able to retrieve it later, however it works only on objects, that you convert into string first and I haven't been able to find a big usage for it myself so...
Yes, That limitation make it about useless, The power of the function without that limitation would be a lot more powerfull. For example, We know that the module itself is loaded as Object ID 0. No great gain there we already have a function to retrive the module object. The next object loaded however are the areas. Object ID's 1- number of areas. So if we had working function StringToObject("00000001") would return the first area in the module. you can see where that woud add some benifit.
The only uses I have found for the ObjectToString function is either in Debuging odd problems. Like the GetIsPCInArea function thread bad on the old BioBoards.
Or for setting a unique LocalVar name on an Object.
SetLocalInt(OBJECT_SELF,ObjectToString(GetPCSpeaker()),TRUE);
Modifié par Lightfoot8, 08 février 2011 - 05:08 .