Skip to main content

NPCTraitGet

Callable


  • Returns the trait value of an NPC. If the opposite trait is found, it will return a negative value.


    Parameters

    Returns number

    • Value of the trait, returns 0 if it was never set.