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

11 lines
286 B
Text
Raw Normal View History

2018-04-05 21:18:14 +00:00
getCompanion() returns Actor
Get the current companion. Not entirely necessary as the current companion has a special variable CurrentCompanion that is always available.
EXAMPLE:
Actor = getCompanion()
Actor.dress()
// is the same as
CurrentCompanion.dress()