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