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.
Entire forum
➜ SMAUG
➜ SMAUG coding
➜ Force commands?
It is now over 60 days since the last post. This thread is closed.
Refresh page
Pages: 1 2
Posted by
| Kalados
(17 posts) Bio
|
Date
| Sun 15 Nov 2009 05:24 PM (UTC) |
Message
| I have my mob and object in the room im in.
Trying to force the mob to pick up and wield the object, using
force get all, which doesnt work.
Force mob direction works...but for some reason that doesnt work. Neither do the MP commands and I can't seem to find it in the helpfile.
Anything im doing wrong?
Neither of them have prototype flags | Top |
|
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Reply #1 on Sun 15 Nov 2009 06:23 PM (UTC) |
Message
| So: force mob mpecho hi
Doesn't work? |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | Top |
|
Posted by
| Kalados
(17 posts) Bio
|
Date
| Reply #2 on Sun 15 Nov 2009 07:21 PM (UTC) |
Message
| That works, and so does force mob say hi
But I'm trying to figure out how to Equip the mob with my items so I can set my resets.
Force seems to be the only way, and I can't find a command to make him pick it up. | Top |
|
Posted by
| David Haley
USA (3,881 posts) Bio
|
Date
| Reply #3 on Sun 15 Nov 2009 07:29 PM (UTC) |
Message
| If you don't use 'get all' but rather 'get <object>', does that work? I've seen bases where mobs can't 'get all'.
You could also try looking at do_get in your code to see if it places restrictions on NPCs using the command. |
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
http://david.the-haleys.org | Top |
|
Posted by
| Kalados
(17 posts) Bio
|
Date
| Reply #4 on Sun 15 Nov 2009 07:36 PM (UTC) |
Message
| Hmm still not working. Is there any other way to get items onto mobs? | Top |
|
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Reply #5 on Sun 15 Nov 2009 07:43 PM (UTC) |
Message
| Then either the mob has full inven, the item level is too high, or something along those lines. |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | Top |
|
Posted by
| Hanaisse
Canada (114 posts) Bio
|
Date
| Reply #6 on Sun 15 Nov 2009 07:58 PM (UTC) |
Message
|
Kalados said: I have my mob and object in the room im in.
Trying to force the mob to pick up and wield the object, using
force get all, which doesnt work.
Is that exactly what you typed? The force command syntax is force <character> <command>. So 'force guard get knife' would make the guard pick up the knife. (You seem to have left out the <character> part.)
What message are you getting when you say it doesn't work?
Also, when you say "all" are you trying to get it to pick up more than one item? As Zeno said, maybe it's too many items. Try one at a time.
Kalados said: But I'm trying to figure out how to Equip the mob with my items so I can set my resets.
You can just give the mob the item. |
aka: Hana
Owner in Training of: Fury of the Gods
alm-dev.org:4000 | Top |
|
Posted by
| Kalados
(17 posts) Bio
|
Date
| Reply #7 on Sun 15 Nov 2009 08:04 PM (UTC) |
Message
| Yeah that was a typo.
Both the mob and the item are level 20, and its just the item and the mob in the room, ive tried all the keywords and its full name
force mob get long sword
force mob get long
force mob get sword
Nothing. :/ | Top |
|
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Reply #8 on Sun 15 Nov 2009 08:06 PM (UTC) |
Message
| You can switch into the mob and get item to see what it's telling the mob. |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | Top |
|
Posted by
| Hanaisse
Canada (114 posts) Bio
|
Date
| Reply #9 on Sun 15 Nov 2009 10:17 PM (UTC) |
Message
|
SmaugFuss help files said: RESETCMDS RESETCOMMANDS~
Syntax: reset edit <number> <commands>
Syntax: reset insert <number> <commands>
Syntax: reset add <commands>
Commands:
GIVE <object vnum> [limit] gives object to last loaded mobile
EQUIP <object vnum> <position> [limit] equips object on last loaded mobile
You don't need to force the mob to pick up items.
|
aka: Hana
Owner in Training of: Fury of the Gods
alm-dev.org:4000 | Top |
|
Posted by
| Kalados
(17 posts) Bio
|
Date
| Reply #10 on Mon 16 Nov 2009 03:03 AM (UTC) |
Message
| What do you put in the [Limit] Field? | Top |
|
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Reply #11 on Mon 16 Nov 2009 03:26 AM (UTC) |
Message
| [ ] means it's optional. |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | Top |
|
Posted by
| Hanaisse
Canada (114 posts) Bio
|
Date
| Reply #12 on Mon 16 Nov 2009 06:01 AM (UTC) |
Message
| [limit] = the # of objects you want to give to the mob. Not sure if it defaults to 1 if not specified. |
aka: Hana
Owner in Training of: Fury of the Gods
alm-dev.org:4000 | Top |
|
Posted by
| Kalados
(17 posts) Bio
|
Date
| Reply #13 on Mon 16 Nov 2009 08:37 AM (UTC) |
Message
| Ok, I can give it to the mob with the give command and make him wear it with force mob wield item, but It says he is inexperienced, and I dont see any where in this hernes building guide on how to set mob skills or weapon types it uses. | Top |
|
Posted by
| Hanaisse
Canada (114 posts) Bio
|
Date
| Reply #14 on Mon 16 Nov 2009 02:10 PM (UTC) |
Message
| Ok, that means the level of the object is higher than the level of the mob. It must be equal to or less than the mobs level. Change either the object or the mob's level. |
aka: Hana
Owner in Training of: Fury of the Gods
alm-dev.org:4000 | 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.
52,034 views.
This is page 1, subject is 2 pages long: 1 2
It is now over 60 days since the last post. This thread is closed.
Refresh page
top