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

17 lines
361 B
Text
Raw Normal View History

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()