Jump to content
  • 0

Instanced Teleporter


Question

Posted

Hello i need a gatekeeper that is made from java (i think) that teleports a party that needs to be for example 5 ppl or more and theyll have to have an ammount of an item

plz help me ok

3 answers to this question

Recommended Posts

  • 0
Posted (edited)

We won't code for you. You only ask and ask for ready code, it's not working like that. Even Tessa won't help you :happyforever:

 

I won't even explain you how to make it, since you won't understand a single thing, but anyway.. I will tell you how to make it

 

You can take as a base the original L2TeleportInstance, clean it a bit, put a check about party and it's members amount on onBypassFeedback under you command, if it's null or < 5 then return; Then you have to make a for loop to check for the items @ party members inventory, if they don't have it return, if everything is fine then 2nd for loop with teleport.

 

Bam done. Piece of cake :D

Edited by SweeTs
  • 0
Posted

We won't code for you. You only ask and ask for ready code, it's not working like that. Even Tessa won't help you :happyforever:

 

I won't even explain you how to make it, since you won't understand a single thing, but anyway.. I will tell you how to make it

 

You can take as a base the original L2TeleportInstance, clean it a bit, put a check about party and it's members amount on onBypassFeedback under you command, if it's null or < 5 then return; Then you have to make a for loop to check for the items @ party members inventory, if they don't have it return, if everything is fine then 2nd for loop with teleport.

 

Bam done. Piece of cake :D

Because it won't be a help but creating something from scratch.. if it was in the marketplace, why not ^_^

Guest
This topic is now closed to further replies.


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..