LifePlay-Revival/Docs/Modding/Command_Functions/getRelative.txt
DoctaSax 7fd1ff94e5 1.7
2018-07-26 21:33:38 +02:00

17 lines
No EOL
509 B
Text

getRelative()
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, Cousin, ParentSibling (uncles/aunts), GrandParent, Parent, StepParent
TYPE: Command, non-Ref
RETURNS: Actor
THEME: Family, Actor Loading
COMPARE: getRelativeExcept
EXAMPLE:
WHO: Actor = getRelative()
WHO: Actor = getRelative(Sibling, StepSibling, Cousin, Child, StepChild)