Top Mud Sites Forum Return to TopMudSites.com
Go Back   Top Mud Sites Forum > Mud Development and Administration > MUD Builders and Areas
Click here to Register

Reply
 
Thread Tools
Old 08-04-2002, 09:08 AM   #1
Nostrum
Member
 
Join Date: Apr 2002
Posts: 47
Nostrum is on a distinguished road
Send a message via ICQ to Nostrum
Has anyone been successful in setting an oprog to load another object? If so, how? If not, is it a command I need to add code for? Oops...codebase is SMAUG1.4. Thanks as always for any and all assistance! *smiles*

Nostrum "The Supreme Monkey Boy"
Nostrum is offline   Reply With Quote
Old 08-04-2002, 02:56 PM   #2
Shao_Long
Senior Member
 
Join Date: Apr 2002
Location: belfast, UK
Posts: 505
Shao_Long is on a distinguished road
Send a message via AIM to Shao_Long Send a message via MSN to Shao_Long
well, i had a spawner which was spawning food..
right by the manual , ive done it..
Shao_Long is offline   Reply With Quote
Old 08-05-2002, 07:44 AM   #3
Nostrum
Member
 
Join Date: Apr 2002
Posts: 47
Nostrum is on a distinguished road
Send a message via ICQ to Nostrum
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-
Nostrum is offline   Reply With Quote
Old 08-05-2002, 09:50 AM   #4
Shao_Long
Senior Member
 
Join Date: Apr 2002
Location: belfast, UK
Posts: 505
Shao_Long is on a distinguished road
Send a message via AIM to Shao_Long Send a message via MSN to Shao_Long
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...
Shao_Long is offline   Reply With Quote
Old 08-05-2002, 02:42 PM   #5
Nostrum
Member
 
Join Date: Apr 2002
Posts: 47
Nostrum is on a distinguished road
Send a message via ICQ to Nostrum
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.
Nostrum is offline   Reply With Quote
Old 08-05-2002, 04:34 PM   #6
Thathalum
New Member
 
Join Date: Jul 2002
Home MUD: Unicorn Valley
Posts: 4
Thathalum is on a distinguished road
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 is offline   Reply With Quote
Old 08-05-2002, 04:37 PM   #7
Thathalum
New Member
 
Join Date: Jul 2002
Home MUD: Unicorn Valley
Posts: 4
Thathalum is on a distinguished road
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.
Thathalum is offline   Reply With Quote
Reply


Thread Tools


oprogs - Similar Threads
Thread Thread Starter Forum Replies Last Post
mprogs/oprogs Enzo MUD Builders and Areas 2 10-11-2004 08:34 AM

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

All times are GMT -4. The time now is 10:58 AM.


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Style based on a design by Essilor
Copyright Top Mud Sites.com 2014