Jump to content
  • 0

Fixed res button to last captured flag in faction mod


Question

Posted

Hi community, im working with Faction mod and im trying to set when a player dies to go to last captured flag in faction mod, 

 

is there any method to do this ? the idea is that the "fixed " button teleports a player to last faction captured flag , i know that "l2tpflaginstance" manages captured flags , so the npc shows a list of captured flags for the team , using this maybe i can set up the button to go to the first flag in the list (the first is the last captured in the npc )

 

or maybe create other method to store that location when a player capture the flag and bring it to the fixed button .

 

Someone can help me with these ? it well be appreciated .

thanks and sorry for my bad english.

1 answer to this question

Recommended Posts

  • 0
Posted

You should take a look at RequestRestartPoint packet. In case restart type is FIXED, then you should check if player is in the event and then revive him and teleport to desired location. It's hard to give you details because there are plenty of event engines and I have no clue how yours look like.

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