Author Topic: Problems with NPC teleporting away  (Read 773 times)

Offline Anomaly

  • Planewalker
  • *****
  • Posts: 35
Problems with NPC teleporting away
« on: July 26, 2005, 10:47:31 AM »

I have some problems with NPC teleporting away and not always succeeds. I want my (non-joinable) NPC to teleport away (and to be deleted from the game) for some times before re-appearing.

I would like to know if I do this correctly.

My code is
CreateVisualEffectObject("SPDIMNDR", Myself)

But I have seen some other code which use DRYAD_TELEPORT spell ? Is it the same ? better ?

Can I get the teleport away animation without using CreateVisualEffectObject ?

Is "DestroySelf()" mandatory ? If I don't use it, will the npc be destroyed after all ? If not, since I can't see him anymore, where he is ?

Thanks in advance. :)

Offline Anomaly

  • Planewalker
  • *****
  • Posts: 35
Re: Problems with NPC teleporting away
« Reply #1 on: July 26, 2005, 02:38:58 PM »
My problem is now solved : I shouldn't have used "DestroySelf()".

ForceSpell(Myself, DRYAD_TELEPORT) alone does everything I want. ;)
« Last Edit: July 26, 2005, 02:40:48 PM by Anomaly »


With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name: Email:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
What color is grass?:
What is the seventh word in this sentence?:
What is five minus two (use the full word)?: