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)
-   -   oprogs (http://www.topmudsites.com/forums/showthread.php?t=152)

Nostrum 08-04-2002 09:08 AM


Shao_Long 08-04-2002 02:56 PM

well, i had a spawner which was spawning food..
right by the manual , ive done it..

Nostrum 08-05-2002 07:44 AM

Ok....what trigger did you use, and what can you supply an example of the command line please? When I attempt the use of optriggers and opcommands, it seems the only way to load an object is by the use of some mobile. For instance:
if ispc($n)
mpechoat $n _bro The ground begins to shift beneath you!
mpoload 204 30
put coin in well
endif
but...what I am looking to do is have the object itself load the vnum without a mobile. I did a check of the opcommands, and they only refer to mpcommands. I know that some of the commands do not have help files(or it seems that way), and that is the reason for my asking if anyone would show me another way if there is one.

-much appreciation-

Shao_Long 08-05-2002 09:50 AM

well, i think i used mpoload... but why you dont want to use it ?..

it was a rand prog, loading a new object time to time.. i deleted it later, cuz it would've make a lot of spam, i think, but it worked, and looked like this :

mpecho The spawner clanks as it spawns more of its strange material
mpoload 12107

that was all, i think...

Nostrum 08-05-2002 02:42 PM

Well, mpoload works for mobiles, and I am attempting to have the load effect with only an object using the exa trigger. So, I was wondering if it was something that I missed or are opcommands something that I need to add in. The only commands noted are mpcommands that I found. I really need a way to make objects load other objects without the assistance of mobiles. I am having no luck with the combinations I have tried. More than likely it is something that I have missed.

Thathalum 08-05-2002 04:34 PM

It depends on *when* you want the object prog to trigger.
Ultimately you would use mpoload to load the second object.

Using an exam trigger here's what you would do to put a second object inside the first one (i.e. a coin inside a box)

opedit box add exa 100
mpoload coin 2 (or use the vnum then level)
put coin box

I have a similar prog on a box that works fine...the only problem with exam progs is that the players can trip them multiple times, thus getting 1000s of the item in question...

Thathalum 08-05-2002 04:37 PM

Oh, one more thing...you should take a look at the doc directory in your smaug code...it has several helpful files on building...I also believe that Herne put up a site somewhere that has the building guides posted.


All times are GMT -4. The time now is 03:20 PM.

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