Updated Perl EVENT_ZONE (markdown)

TurmoilToad
2018-01-16 22:38:23 -05:00
parent 43e9fce13f
commit e5749e3dce
+5 -5
@@ -9,16 +9,16 @@ sub EVENT_ZONE {
quest::say($target_zone_id); # returns int quest::say($target_zone_id); # returns int
} }
``` ```
### Functionality Explained ### Triggered
EVENT_ZONE is triggered when a player zones (not to be confused with perl EVENT_ENTERZONE). * When a player zones (not to be confused with perl EVENT_ENTERZONE).
### EVENT_ZONE in use ### Example
* This example removes the compass mark (IE for adventure location) when you zone out.
```perl ```perl
sub EVENT_ZONE { sub EVENT_ZONE {
# Once you leave the zone, remove the compass mark (IE for adventure location)
$client->ClearCompassMark(); $client->ClearCompassMark();
} }
``` ```