Jump to content
  • 0

Certain NPC despawns after x milliseconds


Guest

Question

How do I make it so after a certain NPC spawns, it despawns after x milliseconds? (e.g. 10,000)

 

I would like to use this to make a necromancer spell and I don't want EVERY NPC ON THE MAP to despawn

 

thanks

Link to comment
Share on other sites

14 answers to this question

Recommended Posts

  • 1
  On 3/3/2019 at 12:49 PM, The Bunny Gamer said:

How do I make it so after a certain NPC spawns, it despawns after x milliseconds? (e.g. 10,000)

 

I would like to use this to make a necromancer spell and I don't want EVERY NPC ON THE MAP to despawn

 

thanks

Expand  


Not possible until source. Essentially this would be a pet/summoning system, and would need an editor to control. Doing it exclusively through events, would be bad even if an alteration to the event system could be made to despawn only 1 npc. Reason being, what happens when you warp or move across an npc avoid? Your pseudo pet no longer follows you, so it's not a true pet system.

With a proper system in place, you could easily summon the necromancer pet via skill (have a set duration etc)

without headache.

Link to comment
Share on other sites

  • 0
  On 3/3/2019 at 1:00 PM, Xenogene said:

easily summon the necromancer pet via skill (have a set duration etc)ο»Ώ

Expand  

 

A set duration? I'm already using it as a skill, but I don't see duration... Am I missing something???

Link to comment
Share on other sites

  • 0

What @Xenogene is saying is that you need a proper pet system in place to do this. There is currently no proper pet system in intersect.

 

Now, using events as you have, you can set a timer with the wait command. After that simply have it despawn the npc that has been spawned.  

Link to comment
Share on other sites

  • 0
  On 3/3/2019 at 5:24 PM, Zetasis said:

What @Xenogene is saying is that you need a proper pet system in place to do this. There is currently no proper pet system in intersect.

 

Now, using events as you have, you can set a timer with the wait command. After that simply have it despawn the npc that has been spawned.  

Expand  


Unfortunately the events do not allow for despawning a specific npc, at least yet. However, in theory that would be one way to do it.

Link to comment
Share on other sites

Γ—
Γ—
  • Create New...