I have a douth, im working at King of the Hill event. And im stuck at Npc Teleporting when all players die:
When they die at event they go into safe place talk with npc and it should port them back to their event starter location for each condition team number like 3 and 4 (there are 2 teams, each one has his own spawn location), here is the code for that npc:
def onTalk (self,npc,player) :
npcId = npc.getNpcId()
cond = player.getQuestState("eventmanager").getInt("cond")
if npcId == RESPAWN :
if not cond == 3:
self.teleToLocation(144428,161151,-2460)
else:
self.teleToLocation(MNPCX,MNPCY,MNPCZ)
Another one is, whats the code for removing from participation from event, i mean he clicks on a button at message window, and take his registration from event. From the self.team[] list.
PROFESSIONAL VIDEO EDITING SERVICES
1️⃣ SERVER PROMOTION VIDEOS
2️⃣ LOGO ANIMATIONS
3️⃣ LOOP GIFS
➡️ CONSTANT PARTY INTROS
➡️ OLYMPIAD/PVP VIDEOS
⏩ MORE INFO: https://discord.gg/YW8a6AmT8N
Thank you! I really missed this option when was exploring bots and their features.
I tried to find L2Net for Interlude, but the official GitHub page has the only H5 compiled version. It doesn't work with my L2J IL. I tried to google a proper version, but nothing worked for me (different errors like DirectX not found etc.)
Do you know where can I get a working version of L2Net IL ?
📢 OBT Success – Get Ready for Launch: November 28!!
The Open Beta was an absolute blast!
Over 160+ Master Accounts successfully claimed their reward from The Judge, proving once again how strong and loyal this community truly is.
🔥 Missed the event?
Don’t worry — because so many players asked for another chance, we will host an additional Event very soon! Stay tuned for details.
Community Growth
We’ve already surpassed 500 Master Accounts registered on our forums — and the numbers keep rising every hour.
It feels like the old days… the same energy, the same hype, the same love for Lineage II.
Let’s rebuild L2Elixir the way we remember it:
No shortcuts, no nonsense — just pure old nostalgic gameplay, community spirit, and that classic adventure we all grew up with.
✨ The journey continues…
Launch: November 28, 21:00 UTC+2
Be there when the legend returns.
🔗 Website: https://l2elixir.org/
💬 Discord: https://discord.gg/5ydPHvhbxs
Question
DreamStage
I have a douth, im working at King of the Hill event. And im stuck at Npc Teleporting when all players die:
When they die at event they go into safe place talk with npc and it should port them back to their event starter location for each condition team number like 3 and 4 (there are 2 teams, each one has his own spawn location), here is the code for that npc:
def onTalk (self,npc,player) : npcId = npc.getNpcId() cond = player.getQuestState("eventmanager").getInt("cond") if npcId == RESPAWN : if not cond == 3: self.teleToLocation(144428,161151,-2460) else: self.teleToLocation(MNPCX,MNPCY,MNPCZ)Another one is, whats the code for removing from participation from event, i mean he clicks on a button at message window, and take his registration from event. From the self.team[] list.
0 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now