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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Tue Nov 28, 2006 11:30 pm   

[1.17] Predefined Events Suggestions
 
Just a few I can think of:

OnZoneChange
I think we need this one added because packages may have classes that may need to be enabled and disabled based on the map zone. This provides a single interface instead of having to replicate the commands in every zone script in the map.

OnLoad
Possibly useful for allowing a package to adjust its configuration based on the presence of other packages, or just adjusting configuration for first time it is loaded from the package library.

OnEnable
OnDisable
Both may be useful as packages begin to interract more with each other, these would be called with information on what setting had been dis/enabled.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
The Raven
Magician


Joined: 13 Oct 2000
Posts: 463

PostPosted: Tue Nov 28, 2006 11:39 pm   
 
Nice ones Vijilante.
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Wed Nov 29, 2006 2:00 am   
 
Then OnEnable/OnDisable might be a tough one, since there are many ways for a setting to get enabled/disabled and this would essentially require a trap in the database to see if this field gets modified, and calling events from database "OnPost" events is probably a bad idea.

The OnLoad is easy, and the OnZoneChange *should* be easy, although I really don't like to mess with the mapper right now.
Reply with quote
Iceclaw
Apprentice


Joined: 11 Sep 2005
Posts: 124

PostPosted: Thu Nov 30, 2006 6:19 pm   
 
On Zone change would be Amazing,
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum 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