--- deliantra/server/pod/events.pod 2006/09/12 23:22:32 1.3 +++ deliantra/server/pod/events.pod 2006/09/17 18:19:19 1.5 @@ -237,9 +237,9 @@ Invoked whenever a player dies, before the death actually gets processed. -=head3 map_change (player oldmap newmap) +=head3 map_change (player newmap x y -- ) -Invoked whenever a player moves from one map to another. +Invoked before a player moves from one map to another, can override the movement. =head3 extcmd (player string) @@ -306,19 +306,19 @@ Invoked when a temporary B gets deleted on-disk. -=head3 enter (map player) +=head3 enter (map player x y -- ) -Invoked whenever a player enters the B. This event is likely unreliable. +Invoked whenever a player tries to enter the B, while he/she is still +on the old map. Overriding means the player won't be able to enter, and, +if newmap/x/y are given, will be redirected to that map instead. -=head3 leave (map player) +=head3 leave (map player -- ) -Invoked whenever a player leaves the B. This event is likely unreliable. - -=head3 upgrade (map) - -(TEMPORARY EVENT) gets invoked whenever a old-style map has been upgraded. +Invoked whenever a player tries to leave the B. Overriding means the +player won't be able to leave. =head3 trigger (map connection state) Invoked whenever something activates a B on the B. If B is true the connection was 'state' and if false it is 'released'. +