No, for what i know there's not much documentation about scripting.
I know this but it has some features that are not available in TMW eathena server
http://buwinow5.tripod.com/ also there's eAthena support board
http://eathena.ws/board/
I noticed about that some years ago while i was working in the source code and testing some scripts. If there have been no changes, each jump to a label inside a special script like "enter in an area" is executed until the defined place is occupied by the player, moving outside it will cause the stop of the script executiion.
Here in that scripts OnSlimeDeath is a label inside the #Slime0 script and so on, hence all the issues about the OnDeath event.
If the label were outside it, e.g. in another script, then the OnDeath event didn't behave in a weird way.
Just to give a small example something like...
Code: Select all
...
areamonster "048-2.gat", 178, 92, 184, 98, "", 1093, $@BlueSageSlime0_Spawn, "SlimeEvents::OnSlime0Death";
...
048-2.gat,0,0,0|script|SlimeEvents|-1,{
OnSlime0Death:
set $@BlueSageSlime0_Spawn, $@BlueSageSlime0_Spawn - 1;
...
end;
OnSlime1Death:
...
}
would allow (unless there have been changes on the server code) to check the mobs death.