MakePlayerFriend - Actor

Member of: Actor Script

Convenience function that makes the actor a friend of the player, if allowed.

SyntaxEdit

Function MakePlayerFriend()

ParametersEdit

None.

Return ValueEdit

None.

ExamplesEdit

; Make Bob a friend of the player
Bob.MakePlayerFriend()

NotesEdit

  • If the actor is unique and relationship rank with player = 0, raises it to 1. Otherwise does nothing.

See AlsoEdit