1. Hello. Is there any way to execute command after killing npc (from HumanNPC plugin)? It can be made by killing player by name or something? :d
     
  2. You should install plugin : Npctp.

    after adding existing HumanNPC to it,
    It will add this possibilities (thru file ./data/NpcTP_Data.json) :

    this example runs command to add RP to player who killed NPC :

    Code:
    "EnableDead": true,
    "DeadOnPlayer": true,
    "DeadCmd": "sr add ",
    "DeadArgs": "500",
    EnableDead -> to enable the command on npc death
    DeadCmd -> is the console command to launch
    dead args -> arguments/options to command
    deadonplayer -> if true the command will be launch like "DeadCmd (player) DeadArgs"
    in this case command is "sr add (player) 500"
    if false the command launched will be like "DeadCmd DeadArgs"
    (player) is replaced by the player who killed npc.

    I remember it took some time for me to understand, thats why i tried to be as clear as possible.
     
  3. Omg! Thanks a lot! :eek:
     
  4. Is there any way to execute that command 30 seconds after kill?
    i have small dungeon with boss ant i wanna to do seems like:
    - Kill Boss
    - You have 30 secs to take loot
    - Teleport to town
     
    Last edited by a moderator: Aug 3, 2018