LifePlay-Revival/Docs/Modding/Functions/getCompanion.txt
2018-04-06 04:18:14 +07:00

11 lines
No EOL
286 B
Text

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