Jump to content
  • 0

misceffect, skilleffect, npcskilleffect commands


kotsumu

Question


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  13
  • Reputation:   1
  • Joined:  05/31/12
  • Last Seen:  

I'm trying to script a NPC who would cast a effect centered on a player.

Simple,

- script - -1,{
OnPCLoginEvent:
 misceffect 890;
 end;
}

I have looked through some of the documentation and it says that misceffect would center around the character instantiating the script if the npc is a floating npc.

However, it seems that misceffect does not center the effect on the character.

skilleffect does another set of effects that are specific to skills. So that's out of the question.

npcskilleffect, not yet sure if that will give my desired outcome.

Any help would be appreciated.

Edited by kotsumu
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  130
  • Reputation:   43
  • Joined:  12/11/11
  • Last Seen:  

*specialeffect2 <effect number>{,<send_target>{,"<Player Name>"}};

This command behaves identically to the 'specialeffect', but the effect will be

centered on the invoking character's sprite.

<Player name> parameter will display <effect number> on another Player than the

one currently attached to the script. Like with specialeffect, when specifying

a player, <send_target> must be supplied, specifying AREA will retain the default

behavior of the command.

Example:

prontera,159,189,4 script Test 123,{
   specialeffect2 12;
}

Edited by plankt
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  13
  • Reputation:   1
  • Joined:  05/31/12
  • Last Seen:  

Works! Thanks a lot!

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...