About Store Forum Documentation Contact



Post Reply 
GuiObj instances unique id
Author Message
zarmen98 Offline
Member

Post: #1
GuiObj instances unique id
can you add "name" thing to GuiObj class, or some unique thing about GuiObj instances?

[/align]


Attached File(s) Image(s)
       
06-18-2019 06:21 PM
Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #2
RE: GuiObj instances unique id
The name is accessible through GuiObjs class.
And you can store pointers to returned objects.
06-19-2019 02:26 AM
Find all posts by this user Quote this message in a reply
zarmen98 Offline
Member

Post: #3
RE: GuiObj instances unique id
but i'm getting objects like Gui.desktop().child(index)
and it's a GuiObj
pointer
so i can't reach the name
06-19-2019 09:33 PM
Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #4
RE: GuiObj instances unique id
In that case you could compare the memory address of the object, and compare it to the stored pointer from GuiObjs
06-20-2019 03:50 AM
Find all posts by this user Quote this message in a reply
Post Reply