LifePlay-Revival/Docs/Modding/Command_Functions/getCompanionCreature.txt

16 lines
278 B
Text
Raw Normal View History

2019-01-11 07:24:05 +00:00
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