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

16 lines
No EOL
638 B
Text

getSpecific(keyword) returns Actor
getSpecific(float) returns Actor
getSpecific(float variable) returns Actor
Get a specific person in your current game.
Keywords are Dating, Dating_Friend, Boss, Colleague, Neighbour, PT, ExDating
Alternatively, you can input a number or a float variable to get specifically the actor with that ID
EXAMPLE:
SO = getSpecific(Dating) // get my boyfriend / girlfriend
Actor5 = getSpecific(5) // get the fifth generated actor in this current game
ID = SugarDaddy.getGlobal()
If ID != 0
SugarDaddyActor = getSpecific(ID) // get the sugar daddy via the float variable
Endif