Jump to content

Toggle shoutbox Shoutbox Open the Shoutbox in a popup

@  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!

@  dr3ad : (21 November 2017 - 04:27 PM)

New command: .gob near will list Top 10 Closest gameobjects and their guids/scales

@  dr3ad : (19 November 2017 - 01:56 PM)

New command: .gob state 0 3 will activate gameobjects such as doors permanently.

@  dr3ad : (25 October 2017 - 07:31 PM)

New commands .phase history and .phase capacity have been added! Check Changelog for more info.

@  dr3ad : (06 October 2017 - 07:52 AM)

Issue with server restarter has been fixed. Server is online.

@  dr3ad : (01 September 2017 - 01:11 PM)

Xtremetop100 voting will now properly award silver coins.

@  dr3ad : (13 August 2017 - 10:26 PM)

A couple of new things were added. Read more here.

@  dr3ad : (12 August 2017 - 12:26 PM)

If you had issues connecting with RPHTiny (such as CDN error) please re-download RPHTiny, all issues have been fixed!

@  dr3ad : (04 August 2017 - 12:44 AM)

Server is online! There was a minor issue with server startup that caused it to stay offline, all back on track now though!

@  dr3ad : (29 July 2017 - 05:24 PM)

Fixed despawning of gobjects happening with .gob tele command! Also Gobject List is now available in account panel where you can edit signs & other gobs.

@  dr3ad : (26 July 2017 - 11:01 PM)

New command: .char create #className => allows you to have unlimited characters on the account by bypassing client restrictions! Example usage: .char create druid

@  dr3ad : (24 July 2017 - 12:55 PM)

Fixed "Announce spam" ban bug that happened to few people, everything's good now.

@  dr3ad : (24 July 2017 - 12:01 AM)

New Starting Location Contest is up & running, read more here!

@  dr3ad : (22 July 2017 - 06:14 PM)

New command: .phase time day/night/number of hours will let you set time of the day of your phase or move the specific amount of hours forward in time!

@  dr3ad : (21 July 2017 - 08:05 PM)

.char custom is back! .gob undo now also accepts number as parameter i.e .gob undo 5 to specify amount of gameobjects to delete up to 10/100 depending on rank

@  dr3ad : (21 July 2017 - 01:43 AM)

New command: .guild rename "OldName" "NewName"


Photo

NPC Player Proximity and Respawn


  • Please log in to reply
15 replies to this topic

#1 Paragon Lightblade

Paragon Lightblade

    Donator

  • Donator
  • PipPipPip
  • 92 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
  • 6313 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
  • 92 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
  • 6313 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
  • 92 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
  • 6313 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
  • 92 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
  • 6313 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
  • 92 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
  • 92 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
  • 92 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
  • 6313 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
  • 6313 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
  • 92 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
  • 6313 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
  • 92 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.