For one of those, I have to pop a certain amount of monsters, which can then pop a skill on a boss one.
For that, when invoking those monsters, I get their ideas from areamonster command's output, store them in a custom array, and use those as base for a unitskill. The problem is that when one of monsters died, I then got an error on unitskill command cause the mob's dead, and therefor, not available for command application.
So I'd like to clean the array when a mobs died. but I can't find a way to get the GID of a monster that died to pop it out of the array, killedrid in the NPCKillEvent being the monster's class.
Hi peoples,
I'm currently working on a bunch of instances.
For one of those, I have to pop a certain amount of monsters, which can then pop a skill on a boss one.
For that, when invoking those monsters, I get their ideas from areamonster command's output, store them in a custom array, and use those as base for a unitskill. The problem is that when one of monsters died, I then got an error on unitskill command cause the mob's dead, and therefor, not available for command application.
So I'd like to clean the array when a mobs died. but I can't find a way to get the GID of a monster that died to pop it out of the array, killedrid in the NPCKillEvent being the monster's class.
Is there's a way to do so?
Share this post
Link to post
Share on other sites