Originally posted by [b]theultramage[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=1210
QUOTE
OnPCLoadMapEvent:
This special label will trigger once a player steps in a map marked with the 'loadevent' mapflag and attach its RID.
The fact that this label requires a mapflag for it to work is because, otherwise, it'd be server-wide and trigger everytime a player would change maps.
The above clearly says that it should only trigger on mapchange. Yet...
CODE
if(map[sd->bl.m].flag.loadevent) // Lance
npc_script_event(sd, NPCE_LOADMAP);
this code is in the global section of clif_parse_loadendack(), meaning it also activates on flywing/teleport. Was this the original intent?
This post has been edited by theultramage: Mar 18 2008, 01:55 AM