NPCTraitGet
Callable
Parameters
C: NPCCharacter
NPC to get the trait of
TraitType: string
Name of the trait to get the value of
Returns number
- Value of the trait, returns 0 if it was never set.
NPC to get the trait of
Name of the trait to get the value of
Returns the trait value of an NPC. If the opposite trait is found, it will return a negative value.