You also much want to make sure that you -have- the delay trigger/prog installed. I don't know if its stock or not, so do make sure you have it before trying to use it.

Davion


From: Yun Zhou <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
CC: [email protected]
Subject: Re: Mob program question
Date: Tue, 12 Aug 2003 15:30:38 -0500

It dosn't work because you are not using the mob delay function correctly. Its
used in the following manner:

this mob has TWO PROGRAMS.. one that happens with a GRALL trigger, and the
other one with a DELAY trigger.

Program A: (with trigger GRALL 100)
mob delay 3

Program B: (with trigger DELAY 100, which means that the delay has a 100%
chance of firing when 3 ticks are up)
say Hello player!

If you want to put the name of the player into the greeting in program B, make sure that you use MOB REMEMBER $n in program A, and then use the $q variable
in program B. Remember that one mob can only have one delayed program, but
there are ways around this. For example, some muds have a "stepdelay" trigger
that fires each time a tick passes, and others simply have a statement that
is called "delay" which makes the mob wait until its over (not standard in
stock mobprog apps, and is quite complicated to make, so I've heard.)

However, do realize that the mob program systems of different muds are not
always the same, and what is true here may not be true for you.

On Tuesday 12 August 2003 14:36, [EMAIL PROTECTED] wrote:
> Hi, I want to make a program that will greet a player, but have a 3 second
> delay before greeting them.
>
> Example:
>
> Monster is in room 100.
> Player enters room 100.
> 1 second goes.
> 2 seconds go by.
> 3 seconds go by.
> Monster says "Hello player!"
>
> instead of
> Monster is in room 100.
> Player enters room 100.
> Monster says "Hello player!"
>
>
> I have tried things such as(for the program code):
> delay 3
> mob delay
> say hello
>
> and
> mob delay
> delay 3
> say hello
>
> This was on a greet and a delay type, neither worked. I also seperate them
> up but it also did not work.
>
> This is fastrom so it came with color, ivan's olc and copyover installed.
> Thanks for your help.


--
ROM mailing list
[email protected]
http://www.rom.org/cgi-bin/mailman/listinfo/rom

_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus


Reply via email to