LifePlay-Revival/Docs/Modding/Functions/getID.txt
2018-04-06 04:18:14 +07:00

14 lines
No EOL
315 B
Text

Actor.getID() returns Float
Get the ID of this actor, which can then be saved as a global variable and then called on using getSpecific.
EXAMPLE:
ID = Actor.getID()
SugarDaddy.setGlobal(ID)
// another scene
ID = SugarDaddy.getID()
If ID != 0
Actor = getSpecific(ID)
Endif