LifePlay-Revival/Docs/Modding/Command_Functions/getCompanionCreature.txt
2019-01-11 14:24:05 +07:00

15 lines
278 B
Text

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