Top Mud Sites Forum

Top Mud Sites Forum (http://www.topmudsites.com/forums/index.php)
-   MUD Builders and Areas (http://www.topmudsites.com/forums/forumdisplay.php?f=8)
-   -   Okay have a question on something (http://www.topmudsites.com/forums/showthread.php?t=140)

Brianna 05-03-2002 09:34 AM


kaylus1 05-03-2002 10:55 AM

I don't know quite how Rom works with it's Progs, or in fact how they work much at all. Though I will assume they are similar to the way DGscripts are setup in Circle.

You would probably do best not to code a special for the area, but instead to code the Triggers themselves. Code a trigger for your mprogs that activates on a zone reset.

Then just put that zone echo mprog in with a zone reset trigger? That to me would be the best way to go about this, as you may find yourself wanting do this for another zone, and will find it reusuable. Make it a Zone reset trigger, or a Room reset trigger.

Onto the usage of it, sounds pretty good though every reset may get a bit repetitive on the players, of course depending on how long they stay within areas. Maybe either echo it to the zone randomly, or to the rooms randomly. (i.e. 33% chance or 50% chance per reset).

Kaylus@Solice

Tavish 05-04-2002 01:43 AM

I am pretty sure ROT runs the same type of mprogs I do so I would suggest a random trigger. It will go off according to the amount you set it to and only while a player is in the area. Put the mprog on a mob and hide it away in an impossible to get to room (something along those lines). Give each zecho you want to go off its own random within the program and whamo, insta-atmosphere.

Rprog would be an even better solution if you happen to have those.

Now of course I might be missing the point of the messages entirely. If you NEED them to run based off of the weather or at each tick let me know.

Sidmouth 05-04-2002 04:42 AM

Well it seems the trick with rprogs would be that you can't set rooms as always_update (to my knowledge). If you put a mob in a room not connected to the area, made him always_update and gave him a rand that echos whatever you like to every room in the area (would have to actually put every vnum in there unfortunately, unless you have some sort of area echo) this should do the trick.

Tavish 05-04-2002 10:52 AM

Actually a random trigger will go off as long as a player is in the same area as the mob. The update_always will make it go off wether players are in the area or not. I didn't really see much a point for that, but it is available if you need it.

Brianna 05-06-2002 10:50 AM



All times are GMT -4. The time now is 08:23 PM.

Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright Top Mud Sites.com 2022