Page 1 of 1

[Command] getRelative

Posted: Mon Nov 01, 2021 10:08 pm
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)