Skip to main content

NPCEventAdd

Callable

  • NPCEventAdd(C: NPCCharacter, EventName: string, EventValue: number): void

  • Adds a new event in a specified NPC log or updates an existing event if it was previously logged.


    Parameters

    • C: NPCCharacter

      NPC for which to add the event to

    • EventName: string

      Name of the even to add

    • EventValue: number

      Value of the even to add (time in ms)

    Returns void

    • Nothing