Rynbef Posted January 30, 2022 Group: Forum Moderator Topic Count: 44 Topics Per Day: 0.01 Content Count: 895 Reputation: 117 Joined: 05/23/12 Last Seen: 6 hours ago Share Posted January 30, 2022 (edited) Idea: add to *getunittype() one (or two) new types BL_CMD/BL_SCRIPTCMD to check if monster was killed by script-/ or atcommand. A new pre defined variable of type int *killedmid it contains the ID of the mob who was killed(not the unique game mob ID *GID). Will be empty(0) if no mob was killed of course. //I don't know if there is any other way to check if mob was killed by script and get the MOB ID or cast GID to MOB ID. If monster spawn by script command with own unique event label its not possible to check if the mob was killed by command (script/at) in my opinion. Only we know the ID. Maybe I'm lost but tried/searched everything. What do you think about? Rynbef~ Edited January 30, 2022 by Rynbef Quote Link to comment Share on other sites More sharing options...
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.