Move NPC After Player Death?

Discuss any issues with Denizen-Bukkit scripts or functionality you may have while using it.
Post Reply
Aberzhulan
New
New
Posts: 2
Joined: August 7th, 2016, 7:00 pm

Move NPC After Player Death?

Post by Aberzhulan » August 7th, 2016, 7:29 pm

Sorry if this is in the wrong section.

I'm trying to make a script that will, essentially, respawn an NPC (using Sentinel) after the NPC kills a player (or after the player dies, by other means). Would that be a task, or where could I find more info on how to do that? It seems I just need to execute command as server.

I've been reading the wiki all day and I think I'm more confused now than earlier.

Thanks.
Aber

User avatar
mcmonkey
Site Admin
Site Admin
Posts: 201
Joined: August 5th, 2016, 7:27 pm
Location: Los Angeles, California, USA
Contact:

Re: Move NPC After Player Death?

Post by mcmonkey » August 7th, 2016, 7:37 pm

Rather than old wiki, check the tutorial videos: http://mcmonkey.org/denizen/vids

You need an event to get started with this script: specifically the event "on npc kills player".
Denizen lead developer.
http://mcmonkey.org

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest