Jump to content

Toggle shoutbox Shoutbox Open the Shoutbox in a popup

@  dr3ad : (18 July 2018 - 11:31 PM)

If you're getting BLZ51900002 error change your DNS server settings to google's 8.8.8.8 (if you dont know how to do this google it)

@  dr3ad : (04 July 2018 - 10:37 AM)

Fixed issue where some members would get "You're not allowed to visit this community" error

@  dr3ad : (30 June 2018 - 06:19 PM)

Added commands .gob massmove #EntryID #Distance #f/l/w/d/u & .gob massrel #EntryID #Distance #f/l/w/d/u (those two commands move all entries in specified direction, as well as .aura list which displays all "hidden" auras on the character

@  dr3ad : (27 June 2018 - 08:53 PM)

Added new commands .gob massreplace #EntryID #NewEntryID and .gob massscale #EntryID #Scale

@  dr3ad : (18 June 2018 - 03:21 PM)

Donator Extended rank has been changed a bit. Read more here.

@  dr3ad : (07 June 2018 - 10:24 PM)

RPHLite AddOn is now available for download, it's a must have addon and will ship with RPHTiny client by default from now on. Read more here.

@  dr3ad : (31 May 2018 - 02:35 PM)

New reward Book Forge has been added! Read more here.

@  dr3ad : (20 May 2018 - 10:53 PM)

You can get notified when player joins the phase if you're phase owner or have a rank. While having permission you can toggle messages with .toggleph

@  dr3ad : (20 May 2018 - 10:53 PM)

You can now auto promote players that join the phase with .ph auto #RankID command

@  dr3ad : (16 May 2018 - 11:52 PM)

.phase inplace command has been added that skips phase starting location (leaves you in place), however requires phase rank to use

@  dr3ad : (07 May 2018 - 09:53 AM)

Starting Area Contest has started and will last until 17th of May! View topic here.

@  dr3ad : (28 March 2018 - 08:57 AM)

Getting coins voting at XtremeTop100 fixed. Many additions to NPC Scripting. Check changelog.

@  dr3ad : (18 February 2018 - 06:31 PM)

Some NPC Script updates. Addition of Target Type "NPC with specific GUID" and Action "Pause Waypoint Movement", so now the scripts can finally target specific npc based on guid

@  dr3ad : (06 February 2018 - 04:29 PM)

Reminder that you can now chose in Rank Manager whether player can only manipulate (e.g delete) his own gobs/npcs. Phase owner can now also change color of specific phase ranks a.k.a name color in .ph ann

@  dr3ad : (25 December 2017 - 10:52 PM)

NPC scripts now work in all phases that you own, additionally phase ranks now contain "Can Use NPC Scripting" option, so everyone who has Scripting perk can now promote people and let them help with scripting the phase

@  dr3ad : (04 December 2017 - 06:19 PM)

You can now browse already made NPC Templates and use their items while making a new NPC Template!

@  dr3ad : (02 December 2017 - 06:39 PM)

New command: .phase playlist #SoundID #LengthOfASongInSeconds will let you make phase playlists e.g 10 songs that will keep playing on loop from 1-10 and repeat. Every consecutive command use the song is added to the list. Use .phase pl clear to clear the playlist

@  dr3ad : (28 November 2017 - 10:49 PM)

Server is online!

@  dr3ad : (28 November 2017 - 07:50 PM)

Server is restarting and will be up in a couple of minutes as soon as phase cleanup is done!

@  dr3ad : (28 November 2017 - 07:19 PM)

Gameobject cleanup will take place soon, all accounts inactive more than 6 months will have their character's phases deleted as we're reaching 15 millions gobjects mark!


Photo

NPC Player Proximity and Respawn


  • Please log in to reply
15 replies to this topic

#1 Paragon Lightblade

Paragon Lightblade

    Donator

  • Donator
  • PipPipPip
  • 93 posts

Posted 03 November 2017 - 10:50 PM

Two NPC suggestion options (Seriously, this is all I do)

First is Player Proximity, if a player is within X yards do Y. 

I.e. Player within 5 yards NPC yells "Get back! It's too dangerous!" or Player within 10 yards, remove immunity.

And we have despawn as an option for an action, respawn would also serve us well. You'll see it time and again where Blizzard has NPC quest givers beset by nameless NPCs that they plow through, it would be nice to have NPCs on a customizable respawn timer for a fight like that. 


  • Dulindir likes this
"I regret only that I have one life to give for Stormwind, for my King, and for the Alliance." - Elliot Daneforth
"Even the most longed for changes have their melancholy, but still the hope for tomorrow always continues. And it is beautiful." - Dallin Manaheart
"It is a testament to the fallen, to urge us ever onward, to remind us that our hearts blaze a fire all their own and that the chill of the grave pales when exposed to the heats of life and love and passion. This blade is a reminder: a token that says "Our hearts will continue to beat and our lungs will draw breath ever onward to the dawn." It reminds us that so long as there is evil then the righteous shall stand up and oppose it. Simply put, this blade is hope." - Ada Roth, describing Esperanza, Lightblade's Remembrance.

#2 dr3ad

dr3ad

    The Mightiest of All

  • Administrators
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 6501 posts

Posted 04 November 2017 - 08:53 AM

Two NPC suggestion options (Seriously, this is all I do)

First is Player Proximity, if a player is within X yards do Y. 

I.e. Player within 5 yards NPC yells "Get back! It's too dangerous!" or Player within 10 yards, remove immunity.

And we have despawn as an option for an action, respawn would also serve us well. You'll see it time and again where Blizzard has NPC quest givers beset by nameless NPCs that they plow through, it would be nice to have NPCs on a customizable respawn timer for a fight like that. 

 

isn't there an option Closest Player and you can enter Amount in yards as range?



#3 Paragon Lightblade

Paragon Lightblade

    Donator

  • Donator
  • PipPipPip
  • 93 posts

Posted 04 November 2017 - 04:27 PM

A targetting option, I'm suggesting a trigger option. As in "When should this script execute?" They're similar and the target can be used to mimic the first in some instances, like casting a spell involving that player, but you can't use player is target to trigger an event.


"I regret only that I have one life to give for Stormwind, for my King, and for the Alliance." - Elliot Daneforth
"Even the most longed for changes have their melancholy, but still the hope for tomorrow always continues. And it is beautiful." - Dallin Manaheart
"It is a testament to the fallen, to urge us ever onward, to remind us that our hearts blaze a fire all their own and that the chill of the grave pales when exposed to the heats of life and love and passion. This blade is a reminder: a token that says "Our hearts will continue to beat and our lungs will draw breath ever onward to the dawn." It reminds us that so long as there is evil then the righteous shall stand up and oppose it. Simply put, this blade is hope." - Ada Roth, describing Esperanza, Lightblade's Remembrance.

#4 dr3ad

dr3ad

    The Mightiest of All

  • Administrators
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 6501 posts

Posted 04 November 2017 - 06:27 PM

A targetting option, I'm suggesting a trigger option. As in "When should this script execute?" They're similar and the target can be used to mimic the first in some instances, like casting a spell involving that player, but you can't use player is target to trigger an event.

i'm sure you can improvise this. i.e make npc cast spell that doesnt do anything on player within XX yards and link next script to this one

 

so 2nd script will only execute if there's player within XX yards


  • Paragon Lightblade likes this

#5 Paragon Lightblade

Paragon Lightblade

    Donator

  • Donator
  • PipPipPip
  • 93 posts

Posted 04 November 2017 - 06:31 PM

That is true, I did think of it only after the fact. Respawn though cannot be improvised in such a manner, any verdict on that?


"I regret only that I have one life to give for Stormwind, for my King, and for the Alliance." - Elliot Daneforth
"Even the most longed for changes have their melancholy, but still the hope for tomorrow always continues. And it is beautiful." - Dallin Manaheart
"It is a testament to the fallen, to urge us ever onward, to remind us that our hearts blaze a fire all their own and that the chill of the grave pales when exposed to the heats of life and love and passion. This blade is a reminder: a token that says "Our hearts will continue to beat and our lungs will draw breath ever onward to the dawn." It reminds us that so long as there is evil then the righteous shall stand up and oppose it. Simply put, this blade is hope." - Ada Roth, describing Esperanza, Lightblade's Remembrance.

#6 dr3ad

dr3ad

    The Mightiest of All

  • Administrators
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 6501 posts

Posted 04 November 2017 - 06:46 PM

That is true, I did think of it only after the fact. Respawn though cannot be improvised in such a manner, any verdict on that?

actually i've added an event "when target is in range", test it and let me know if it works

 

on the other hand, you cannot respawn NPC because script doesnt work when npc is despawned, so i can only add time in seconds to respawn while selecting "Despawn" action, so when u select despawn u can say i.e let npc spawn back in 5 seconds 



#7 Paragon Lightblade

Paragon Lightblade

    Donator

  • Donator
  • PipPipPip
  • 93 posts

Posted 04 November 2017 - 06:58 PM

I can't seem to get it to trigger, I've tried the target type being both the nearest player and the creature itself. I've tried using dialogue, spells, and move.


"I regret only that I have one life to give for Stormwind, for my King, and for the Alliance." - Elliot Daneforth
"Even the most longed for changes have their melancholy, but still the hope for tomorrow always continues. And it is beautiful." - Dallin Manaheart
"It is a testament to the fallen, to urge us ever onward, to remind us that our hearts blaze a fire all their own and that the chill of the grave pales when exposed to the heats of life and love and passion. This blade is a reminder: a token that says "Our hearts will continue to beat and our lungs will draw breath ever onward to the dawn." It reminds us that so long as there is evil then the righteous shall stand up and oppose it. Simply put, this blade is hope." - Ada Roth, describing Esperanza, Lightblade's Remembrance.

#8 dr3ad

dr3ad

    The Mightiest of All

  • Administrators
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 6501 posts

Posted 04 November 2017 - 06:59 PM

I can't seem to get it to trigger, I've tried the target type being both the nearest player and the creature itself. I've tried using dialogue, spells, and move.

is your npc out of combat?



#9 Paragon Lightblade

Paragon Lightblade

    Donator

  • Donator
  • PipPipPip
  • 93 posts

Posted 04 November 2017 - 06:59 PM

Yes, it is.


"I regret only that I have one life to give for Stormwind, for my King, and for the Alliance." - Elliot Daneforth
"Even the most longed for changes have their melancholy, but still the hope for tomorrow always continues. And it is beautiful." - Dallin Manaheart
"It is a testament to the fallen, to urge us ever onward, to remind us that our hearts blaze a fire all their own and that the chill of the grave pales when exposed to the heats of life and love and passion. This blade is a reminder: a token that says "Our hearts will continue to beat and our lungs will draw breath ever onward to the dawn." It reminds us that so long as there is evil then the righteous shall stand up and oppose it. Simply put, this blade is hope." - Ada Roth, describing Esperanza, Lightblade's Remembrance.

#10 Paragon Lightblade

Paragon Lightblade

    Donator

  • Donator
  • PipPipPip
  • 93 posts

Posted 04 November 2017 - 07:05 PM

It seems to activate in combat sometimes. I need to test more.


"I regret only that I have one life to give for Stormwind, for my King, and for the Alliance." - Elliot Daneforth
"Even the most longed for changes have their melancholy, but still the hope for tomorrow always continues. And it is beautiful." - Dallin Manaheart
"It is a testament to the fallen, to urge us ever onward, to remind us that our hearts blaze a fire all their own and that the chill of the grave pales when exposed to the heats of life and love and passion. This blade is a reminder: a token that says "Our hearts will continue to beat and our lungs will draw breath ever onward to the dawn." It reminds us that so long as there is evil then the righteous shall stand up and oppose it. Simply put, this blade is hope." - Ada Roth, describing Esperanza, Lightblade's Remembrance.

#11 Paragon Lightblade

Paragon Lightblade

    Donator

  • Donator
  • PipPipPip
  • 93 posts

Posted 04 November 2017 - 07:07 PM

Oh, also all other triggers seem to be broken. I can set an event to occur periodically, and that's all. 

Attached Files


"I regret only that I have one life to give for Stormwind, for my King, and for the Alliance." - Elliot Daneforth
"Even the most longed for changes have their melancholy, but still the hope for tomorrow always continues. And it is beautiful." - Dallin Manaheart
"It is a testament to the fallen, to urge us ever onward, to remind us that our hearts blaze a fire all their own and that the chill of the grave pales when exposed to the heats of life and love and passion. This blade is a reminder: a token that says "Our hearts will continue to beat and our lungs will draw breath ever onward to the dawn." It reminds us that so long as there is evil then the righteous shall stand up and oppose it. Simply put, this blade is hope." - Ada Roth, describing Esperanza, Lightblade's Remembrance.

#12 dr3ad

dr3ad

    The Mightiest of All

  • Administrators
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 6501 posts

Posted 04 November 2017 - 07:07 PM

It seems to activate in combat sometimes. I need to test more.

i fixed it, now on default it will be out of combat



#13 dr3ad

dr3ad

    The Mightiest of All

  • Administrators
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 6501 posts

Posted 04 November 2017 - 07:08 PM

Oh, also all other triggers seem to be broken. I can set an event to occur periodically, and that's all. 

press ctrl + f5 to delete cache and refresh page



#14 Paragon Lightblade

Paragon Lightblade

    Donator

  • Donator
  • PipPipPip
  • 93 posts

Posted 04 November 2017 - 07:11 PM

press ctrl + f5 to delete cache and refresh page

I deleted the cache, but it still doesn't give an option beyond choosing a trigger for some options like periodically. 


"I regret only that I have one life to give for Stormwind, for my King, and for the Alliance." - Elliot Daneforth
"Even the most longed for changes have their melancholy, but still the hope for tomorrow always continues. And it is beautiful." - Dallin Manaheart
"It is a testament to the fallen, to urge us ever onward, to remind us that our hearts blaze a fire all their own and that the chill of the grave pales when exposed to the heats of life and love and passion. This blade is a reminder: a token that says "Our hearts will continue to beat and our lungs will draw breath ever onward to the dawn." It reminds us that so long as there is evil then the righteous shall stand up and oppose it. Simply put, this blade is hope." - Ada Roth, describing Esperanza, Lightblade's Remembrance.

#15 dr3ad

dr3ad

    The Mightiest of All

  • Administrators
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 6501 posts

Posted 04 November 2017 - 07:51 PM

I deleted the cache, but it still doesn't give an option beyond choosing a trigger for some options like periodically. 

that fixed as well



#16 Paragon Lightblade

Paragon Lightblade

    Donator

  • Donator
  • PipPipPip
  • 93 posts

Posted 04 November 2017 - 07:52 PM

In that case, I'm going to play with my new toys. I'll report back if there's any problems, otherwise consider this successfully implemented.


"I regret only that I have one life to give for Stormwind, for my King, and for the Alliance." - Elliot Daneforth
"Even the most longed for changes have their melancholy, but still the hope for tomorrow always continues. And it is beautiful." - Dallin Manaheart
"It is a testament to the fallen, to urge us ever onward, to remind us that our hearts blaze a fire all their own and that the chill of the grave pales when exposed to the heats of life and love and passion. This blade is a reminder: a token that says "Our hearts will continue to beat and our lungs will draw breath ever onward to the dawn." It reminds us that so long as there is evil then the righteous shall stand up and oppose it. Simply put, this blade is hope." - Ada Roth, describing Esperanza, Lightblade's Remembrance.