Page 1 of 1

[Command] getRelatedPersonQuick

Posted: Sat Nov 13, 2021 10:06 am
by Raddeck
Actor.getRelatedPersonQuick(RelationshipTypes)


USE:
Same as getRelatedPerson() but only load the necessary data for the actor needed for AI stuffs.
Only meant for lpai files, actors gotten this way aren't meant to be shown to the player on screen.

The list for relationship types is:
- Dating
- Spouses
- Siblings
- ParentChild
- Cousins
- BossEmployee
- Colleagues


TYPE: Command, non-Ref
RETURNS: Actor
THEME:
COMPARE: getRelatedPeople


EXAMPLE:

Code: Select all

SO = getRelatedPersonQuick(Spouses, Dating)