[Command] getSpecific

Post Reply
User avatar
Raddeck
LP Manager
Reactions: 1
Posts: 508
Joined: Sat Oct 16, 2021 6:22 pm
Location: LpWorld
Contact:

Post by Raddeck »

getSpecific(keyword)
getSpecific(float)
getSpecific(float variable)


USE:
Get a specific person in your current game.


Available keywords are:
  • Dating
  • Dating_Friend
  • Boss, Colleague
  • Neighbour
  • PT
  • ExDating
  • Landlord
  • CurrentBabyDaddy
  • Impregnated
  • Affair
  • Lecturer
Alternatively, you can input an ID number or a float variable containing it to get the actor with that ID.


TYPE: Command, Non-Ref
RETURNS: Actor
THEME: Actor Loading
COMPARE: getPerson, getID, setGlobal, getGlobal, isValid


EXAMPLE:

Code: Select all

    SO = getSpecific(Dating)  // get my boyfriend / girlfriend
    If SO.isValid
	// I actually have a bf/gf
    Endif
	
    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
Like my work? Buy me a coffee or support me on Patreon to keep it coming. :ugeek:
-Don't PM me for support-
Top
Post Reply