Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ SMAUG ➜ SMAUG coding ➜ mprog help

mprog help

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Primus   (1 post)  Bio
Date Thu 17 May 2012 01:42 PM (UTC)
Message
i've been building an area, unfortunately the one thing i suffer with is progs.

The Problem:- Log: [*****] BUG: Unknown ifcheck, Mob #599.

The Code:-

mpedit $n add greet 100
if ispc($n)
mea $n Greetings $n*!
if Wearingvnum(491)
say Ahh i see you have found the chosen one navi, $n time is short, will you hear my story?.
else
say Sorry, but you are not the choosen one i requested, come back later.
endif




The Idea:-
I need the mobile in this case, the great deku tree (for those who have played ocarina of time, will understand this)

Basically you must have Navi the fairy (Onum:491)
to be able to talk to the tree and accept his mission, but if you do not have navi, he politely tells you to go away.

if anyone can help.. thanks in advance
Top

Posted by Walldo   (1 post)  Bio
Date Reply #1 on Thu 17 May 2012 09:03 PM (UTC)
Message
I believe the proper syntax is ovnumwear

IE

if ovnumwear(491)

I am not sure if stock SMAUG comes with a list of ifchecks or not.
Top

Posted by Valnor   (1 post)  Bio
Date Reply #2 on Sun 20 May 2012 06:10 PM (UTC)
Message
If you want them to have to have it on a "wear" slot, then yeah:

if ovnumwear(491)

But that won't check in containers (i.e. if you put the fairy in a bottle and hold the bottle in your hand).

You can also do:

if ovnuminv(491)

This will check their inventory if you don't plan on the character actually "wearing" the fairy.
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


12,590 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.