Euphy Posted November 24, 2012 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted November 24, 2012 Aegis includes "respawn type" as the last argument in its monster spawn: declare putmob snnnnnnnnn? ENUM++ // ["spawn map"] [centroid x],[y] [coordinate range x],[y] [number spawned] [monster id], [respawn time min], [respawn time max], [respawn type] We've carried the values over into our mob spawns, even though our field currently doubles as an event field: anthell01,0,0,0,0 monster Maya Purple 1289,1,7200000,3600000,1 "0" is the usual value, but does "1" have any meaning? If it's important, 'regentype' should be separated from the 'event' field. This would create one more optional argument, making permanent monster spawns look like: map,x1,y1,x2,y2 monster "name,lv" id,amount,min_regen,max_regen,eventname,size,ai sscanf(w4, "%d,%d,%u,%u,%127,%d,%d,%d[^\t\r\n]", &class_, &num, &mob.delay1, &mob.delay2, mob.regentype, mob.eventname, mob.size, mob.ai ) < 2 ) 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.