Force commands?

Posted by Kalados on Sun 15 Nov 2009 05:24 PM — 17 posts, 72,487 views.

#0
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
USA #1
So: force mob mpecho hi

Doesn't work?
#2
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.
USA #3
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.
#4
Hmm still not working. Is there any other way to get items onto mobs?
USA #5
Then either the mob has full inven, the item level is too high, or something along those lines.
Canada #6
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.
#7
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. :/
USA #8
You can switch into the mob and get item to see what it's telling the mob.
Canada #9
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.
#10
What do you put in the [Limit] Field?
USA #11
[ ] means it's optional.
Canada #12
[limit] = the # of objects you want to give to the mob. Not sure if it defaults to 1 if not specified.
#13
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.
Canada #14
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.
USA #15
... and that might explain why the mob wasn't able to 'get' the item, earlier. :-)
#16
Figured it out. Thanks for the help :)