Giant Whisper Posted April 21, 2019 Posted April 21, 2019 Hello, I have downloaded this barricade scriptI wish you could only use the npc once the barricades were dismantled, to avoid barricade spawn EP7_abysses.txt Quote
0 sader1992 Posted April 22, 2019 Posted April 22, 2019 (edited) the script you give , is not a complete script so i can't give more detail than --------------------------------------- *mobcount("<map name>","<event label>") This function will count all the monsters on the specified map that have a given event label and return the number or 0 if it can't find any. Naturally, only monsters spawned with 'monster' and 'areamonster' script commands can have non-empty event label. If you pass this function an empty string for the event label, it will return the total count of monster without event label, including permanently spawning monsters. With the dynamic mobs system enabled, where mobs are not kept in memory for maps with no actual people playing on them, this will return a 0 for any such map. If the event label is given as "all", all monsters will be counted, regardless of having any event label attached. If the map name is given as "this", the map the invoking character is on will be used. If the map is not found, or the invoker is not a character while the map is "this", it will return -1. --------------------------------------- just at the start of the npc that spawn the monsters put if(mobcount("ars_fild58","EP7_abysses::OnBossDead")) end; or maybe OnBossDead2 , you have 2 labels in the script ,and i don't know what monster you mean. Edited April 22, 2019 by sader1992 Quote
0 Giant Whisper Posted April 22, 2019 Author Posted April 22, 2019 (edited) Thanks Solved Edited April 23, 2019 by Giant Whisper Quote
Question
Giant Whisper
Hello, I have downloaded this barricade script
I wish you could only use the npc once the barricades were dismantled, to avoid barricade spawn
EP7_abysses.txt
2 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.