Jump to content
  • 0

Custom Fly Wing


Sere

Question


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  43
  • Reputation:   2
  • Joined:  02/11/12
  • Last Seen:  

Hello everybody,

it's me again xD

But I got a little question. I saw on some other Server that they have a Fly Wing which don't disappears after using.

Know someone maybe, how it works?

I tried to add it at the db with 'makeitem' and 'getitem' but you can see, that you become it again and if you use it to fast, you don't become another one.

Example:

601,Wing_Of_Fly,Fly Wing,11,60,,50,,,,,0xFFFFFFFF,7,2,,,,,,{ itemskill "AL_TELEPORT",1; getitem 601,1; },{},{}

Greetings

Sere

Edited by Sere
Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

The 'itemskill' command will cause delayed consumables (item type 11) to be consumed -- otherwise, they'll remain in your inventory. So a simple workaround would be something like:

{ warp strcharinfo(3),0,0; },{},{}

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  43
  • Reputation:   2
  • Joined:  02/11/12
  • Last Seen:  

oooww awesome!

Many many thanks, I wanted that Fly Wing for really a long time, exactly this way.

Edited by Sere
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  50
  • Reputation:   0
  • Joined:  07/24/12
  • Last Seen:  

The 'itemskill' command will cause delayed consumables (item type 11) to be consumed -- otherwise, they'll remain in your inventory. So a simple workaround would be something like:

{ warp strcharinfo(3),0,0; },{},{}

I am having problem with this, it will allow player to use it to random warp inside building and guild castles. Any way to solve it?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

Check against the "No Teleport" mapflag:

{ if (getmapflag(strcharinfo(3),mf_noteleport)) dispbottom "Unable to warp on this map."; else warp strcharinfo(3),0,0; },{},{}

  • Upvote 2
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  50
  • Reputation:   0
  • Joined:  07/24/12
  • Last Seen:  

Perfect! Thanks!

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