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
➜ Is there really a way to make object cast a spell?
Is there really a way to make object cast a spell?
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Oblisgr
(123 posts) Bio
|
Date
| Thu 23 Apr 2020 01:44 PM (UTC) Amended on Thu 23 Apr 2020 01:48 PM (UTC) by Oblisgr
|
Message
| Hello,
Is there really a way to make object like a chest to cast a spell?
i tried on exa_prog for example:
cast <spell> $n
mpforce cast spell $n
but i cant get a result.
Anything i'm missing or maybe is an other way to do that? | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #1 on Thu 23 Apr 2020 08:58 PM (UTC) |
Message
| It may not make sense in the code for objects to cast spells.
I think in the SMAUG areas I saw a while ago they had invisible mobs in the room to cast spells if spell-casting was needed. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Oblisgr
(123 posts) Bio
|
Date
| Reply #2 on Fri 24 Apr 2020 07:18 AM (UTC) |
Message
| Hi, thanks for answer
I made some debugging to my code, and it worked. Actually objects can cast spells.
Just to know. | 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.
10,588 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top