[Command] getCompanion
Posted: Mon Nov 01, 2021 9:24 pm
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:
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:
Code: Select all
Actor = getCompanion()
Actor.dress()
// is the same as
CurrentCompanion.dress()