Interface NpcObject<T>

Type Parameters:
T -
All Superinterfaces:
FieldedObject<T>, ScriptObject<T>

public interface NpcObject<T>
extends FieldedObject<T>
This is a script proxy for npc objects. should be your implementation of npc.
  • Method Details

    • getTemplateId

      int getTemplateId()
      Returns:
      the speakerId/templateId for packets to use. NOT objectId from odin.
    • disableNpc

      boolean disableNpc()
    • hideNpc

      boolean hideNpc()
    • setAction

      boolean setAction​(String specialAction)
      Sets the NPC's current 'act'.
      Parameters:
      specialAction - A string action, you may find these in their WZ node.
      Returns:
      true if the action was set successfully.