[Command] getCompanionCreature

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 »

getCompanionCreature()


USE:
Get the current companion, but only if they are a creature.


TYPE: Command, Non-Ref
RETURNS: Actor
THEME: Companion
COMPARE: getCompanion, getCompanionAny


EXAMPLE:

Code: Select all

WHO: Actor = getCompanionCreature(); If Random(0, 200) < Actor:intelligence
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