Jump to content
  • 0

specialeffect in map


luizragna

Question


  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  107
  • Reputation:   27
  • Joined:  02/12/14
  • Last Seen:  

Hello, i want use the script command "specialeffect" a specifies coordinated.

Ex: The NPC uses specialeffect 14 in prontera,100,105.

How do I do that?

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  88
  • Reputation:   10
  • Joined:  01/15/16
  • Last Seen:  

It's not implemented by default, so there is not an existing command for that, but, what might do the trick is to spawn an invisible monster in the coordinates saving the GID, and then  do specialeffect 14,AREA,.@gid; then delete the monster.

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  927
  • Reputation:   169
  • Joined:  04/05/13
  • Last Seen:  

doc\script_commands.txt line 5447

*specialeffect <effect number>{,<send_target>{,"<NPC Name>"}};

specialeffect 14,AREA,"luizragna";

 

Quote

<send_target> must be specified when specifying an <NPC Name>, specifying AREA
will retain the default behavior of the command.

maybe map name cannot be used. idk

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  107
  • Reputation:   27
  • Joined:  02/12/14
  • Last Seen:  

11 minutes ago, TARTs said:

doc\script_commands.txt line 5447

*specialeffect <effect number>{,<send_target>{,"<NPC Name>"}};

specialeffect 14,AREA,"luizragna";

 

maybe map name cannot be used. idk

In this case the npc uses the effect in itself, I wish he used in some coordinate

Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  50
  • Topics Per Day:  0.02
  • Content Count:  763
  • Reputation:   227
  • Joined:  02/11/17
  • Last Seen:  

use an invisible npc to show the special effect. :))

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  1137
  • Reputation:   290
  • Joined:  04/29/13
  • Last Seen:  

prontera,49,46,5	script Spirit	111,25,0,{
	end;
OnTouch:
	specialeffect2 882;
end;
}

 

Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  587
  • Reputation:   431
  • Joined:  01/26/16
  • Last Seen:  

I'd spawn an invisible monster and run specialeffect on it then remove it like @Enthr suggested.

That's more flexible than using invisible NPCs and you can display as many effects as you want at once.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  107
  • Reputation:   27
  • Joined:  02/12/14
  • Last Seen:  

How i make a invisible mob?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...