The forums will be going offline for an extended maintenance period at 1400hrs GMT on 19th June 2025. The number of hours for this downtime is intentionally not advertised due to the nature of these upgrades.
×
- 0
Need help with monster summoning inside a custom instance
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
Ruhn
demon_lair,99,101,1 script #Demon_Tomb 565,{ mes "[Tomb]"; mes "This is the resting place of a great demon"; mes "named Azhura."; next; mes "You can summon him thru"; mes "Nightmarish Ornament and Evil Energy"; next; mes "Put the Nightmarish Ornament"; mes "and Evil Energy."; menu "Yes",yes,"No",-; next; mes "[Tomb]"; mes "Come back when you are decided."; close; end; yes: if( countitem(41001) < 2 ) mes "You didnt have required item!"; else{ delitem 41001,2; mapannounce .Map$, "Prepare for the unleashed evil!!", bc_map; goto SummonAzhura; } end; SummonAzhura: monster .Map$,99,106,"Great Demon Azhura",1973,1,strnpcinfo(0)+"::OnKilledAzhura"; end; OnKilledAzhura: disablenpc "#Demon_Tomb"; end; OnInit: .Map$ = "demon_lair"; end; }
This is my code, the map announce and monster is not being summoned.
No error on Map server
Edited by Ruhnupdated the code
Link to comment
Share on other sites
11 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.