Jump to content
  • 0

[Help]Disable To Village Buttons on death


Question

Posted

Hello Mxc ...

 

 

As title says i want to disable "To Village"/"To Fotress"/"To ClanHall" buttons

on death but only in a Custom Zone i had made...

 

 

Is this posible ?

 

Thanks in advance ...!

1 answer to this question

Recommended Posts

  • 0
Posted

Die serverpacket leads behavior of the little window appearing at death showing the different links.

 

Do a simple check where the player was at death (isInsideZone) ; if true all values are setup to 0, if wrong normal behavior is applied. So far on IL there's 6 values (1 is normal teleport, 3 are clans related, 1 is GM FIXED, 1 is sweep glow).

 

Beware the character will be stuck dead if you don't allow any other mean to ress. You can too rework the "to village" button (RequestRestartPoint clientpacket).

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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