[Command] getRelative

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 »

getRelative() or getRelative(keyword, keyword, ..., keyword)


USE:
Retrieves an actor who's related to the player.
This can be filtered down to only certain types of relatives with keywords:
Sibling, StepSibling, Child, StepChild, GrandChild, Cousin, ParentSibling (uncles/aunts), GrandParent, Parent, StepParent


TYPE: Command, non-Ref
RETURNS: Actor
THEME: Family, Actor Loading
COMPARE: getRelativeExcept


EXAMPLE:

Code: Select all

WHO: Actor = getRelative()
	
WHO: Actor = getRelative(Sibling, StepSibling, Cousin, Child, StepChild)
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