Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Maelstrom
Apprentice


Joined: 10 Feb 2005
Posts: 158

PostPosted: Thu Feb 24, 2005 2:09 am   

Zone triggers
 
This ones been bugging for awile. Never posted it because of course I was able to code around it but I was thinking about it again this morning so would like some feedback...

If your in the mapper and you right click a zone and choose properties youll get an area where you can make zone triggers (always active and explore mode only). Considering they are called "zone" triggers I figured they would suit my purpose easily enough. What I was looking for (not anymore mind you) was a place to trigger on mobs and assign the mob name to a key like so:

#TRIGGER {^An elf sits here$} {#VARIABLE Mob {elf}}

Combine this with a key:

#KEY F1 {#IF @Mob!=0 {kill @Mob;#VARIABLE Mob {0}}}

When I start zMud there are no such triggers. When I load a zone with the above type triggers in the zone script area they are created which is what I would expect. However when I change zones the old zone script triggers are neither discarded or disabled... is this intended behaviour?

Either
a) I was doing this incorrectly
b) Wrong syntax
c) I found a bug
d) This is not its intended purpose

I have looked several times in the help files but I never found any reference to these scripting areas... Question
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: Thu Feb 24, 2005 3:11 am   
 
I think this is a bug related to zonescripts I might have reported it or one similar to it, Ill have to look again :P
_________________
Zmud Support Library
Zmud Knowledge Base
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net