SetCustomReputationChangeIcon

From GECK
Jump to: navigation, search


A function added by the JohnnyGuitar NVSE Plugin version 4.70.

Description

Sets a custom icon path for the icon that appears in the message box when player's reputation tier changes. Changes are unique to the reputation form passed as an argument. Reputation icons have 4 tiers used to indicate changes (tier names are derived from default icons):

1	in pain
2	sad
3	neutral
4	very happy
Changes affect corner messages for reputation as well - tier 2 is used for negative changes, and 4 for positive.

Syntax

[help]
(success(0/1)) SetCustomReputationChangeIcon reputation:baseform tier:int(1-4) iconPath:string

Example

SetCustomReputationChangeIcon GoodspringsReputation 2 "path/to/my/icon.dds" ; will change the icon appearing in the message when reputation with Goodsprings decreases by small amount