Difference between revisions of "MakePlayerFriend - Actor"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Rhavlovick
m (1 revision: Clobber re-import by Henning)
(No difference)

Revision as of 15:27, 18 October 2011

Member of: Actor Script

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

Syntax

Function MakePlayerFriend()

Parameters

None.

Return Value

None.

Examples

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

Notes

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

See Also