Page 1 of 1

[Command] getCompanionCreature

Posted: Mon Nov 01, 2021 9:28 pm
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