[Command] getRelatedPersonQuick

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 »

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)
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