View Single Post
  #1  
Old 09-07-2008, 11:18 PM
Neiv
Hill Giant
 
Join Date: May 2008
Location: Colorado
Posts: 238
Default Question about global "watchers"

I've noticed that many global scripts include watchers that are used (as I understand it) to jump start the perl script when a pc enters the zone where it executed when no pc was in the zone. My question is, why wouldn't a quest global do this on its own without a watcher? If I have included the script in my player.pl under a EVENT_ENTERZONE, isn't that equivalent to a watcher?

One of the questions someone asked recently was how to spawn a mob in zone B by killing a mob in zone A. If I include a setglobal in the EVENT_DEATH of the mob I am killing, and include a global check in the EVENT_ENTERZONE of my player.pl, shouldn't that spawn the mob when I enter zone B?
Reply With Quote