17 lines
361 B
Text
17 lines
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()
|