Difference between revisions of "MakePlayerFriend - Actor"
Jump to navigation
Jump to search
→Syntax
imported>Rhavlovick m (1 revision: Clobber re-import by Henning) |
imported>Thingy Person (→Syntax) |
||
Line 8: | Line 8: | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
Function MakePlayerFriend() | Function MakePlayerFriend() | ||
ActorBase myBase = GetActorBase() | |||
if myBase.IsUnique() | |||
if GetRelationshipRank(Game.GetPlayer())== 0 | |||
SetRelationshipRank(Game.GetPlayer(), 1) | |||
else | |||
endif | |||
else | |||
endif | |||
endFunction | |||
</source> | </source> | ||