[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  SMAUG coding
. . -> [Subject]  Force commands?

Force commands?

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


Pages: 1 2  

Posted by Kalados   (17 posts)  [Biography] 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
[Go to top] top

Posted by Zeno   USA  (2,871 posts)  [Biography] 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
[Go to top] top

Posted by Kalados   (17 posts)  [Biography] 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.
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] 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
[Go to top] top

Posted by Kalados   (17 posts)  [Biography] 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?
[Go to top] top

Posted by Zeno   USA  (2,871 posts)  [Biography] 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
[Go to top] top

Posted by Hanaisse   Canada  (114 posts)  [Biography] 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
[Go to top] top

Posted by Kalados   (17 posts)  [Biography] 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. :/
[Go to top] top

Posted by Zeno   USA  (2,871 posts)  [Biography] 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
[Go to top] top

Posted by Hanaisse   Canada  (114 posts)  [Biography] 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
[Go to top] top

Posted by Kalados   (17 posts)  [Biography] bio
Date Reply #10 on Mon 16 Nov 2009 03:03 AM (UTC)
Message
What do you put in the [Limit] Field?
[Go to top] top

Posted by Zeno   USA  (2,871 posts)  [Biography] 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
[Go to top] top

Posted by Hanaisse   Canada  (114 posts)  [Biography] 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
[Go to top] top

Posted by Kalados   (17 posts)  [Biography] 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.
[Go to top] top

Posted by Hanaisse   Canada  (114 posts)  [Biography] 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
[Go to top] 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.


45,913 views.

This is page 1, subject is 2 pages long: 1 2  [Next page]

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

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

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

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at HostDash]