LifePlay-Revival/Docs/Modding/Command_Functions/getCompanion.txt
DoctaSax 7fd1ff94e5 1.7
2018-07-26 21:33:38 +02:00

17 lines
No EOL
361 B
Text

getCompanion()
USE:
Get the current companion. Not entirely necessary as the current companion has a special variable "CurrentCompanion" that is always available.
TYPE: Command, non-Ref
RETURNS: Actor
THEME: Companions
COMPARE: isWithCompanion
EXAMPLE:
Actor = getCompanion()
Actor.dress()
// is the same as
CurrentCompanion.dress()