If checks on wielding

For builders to discuss and ask building questions.
Post Reply
Tandria
Sword Grand Master
Sword Grand Master
Posts: 384
Joined: Mon Nov 10, 2003 9:03 pm
Location: Outskirts of Waterdeep
Contact:

If checks on wielding

Post by Tandria » Sat May 28, 2005 6:58 pm

Is there a certain if check that one could use to check the type of weapon that is wielded? For example, if I wanted to check if someone was wielding a short blade, though not SPECIFICALLY a dagger. Is it possible to do that, or would I have to just check and see if the PC is wearing object type weapon?

Thanks!
"May your travels be Wonderful and Mysterious."
User avatar
Kregor
Sword Grand Master
Sword Grand Master
Posts: 1474
Joined: Sun Jul 11, 2004 6:14 am
Location: Baldur's Gate

Post by Kregor » Thu Jun 30, 2005 2:32 pm

Like Tandria said...

It would be nice if we could achieve some sort an "if weapontype" check to tell if the actor was wielding a specific type of weapon.

For example, playing with how to code a flare arrow, the effect was easy to figure out, using mpechoes and mpasound. Invoking the effect would be an intecept, easy enough. But the command to SHOOT this flare would activate whether the actor wields a bow or not. As I see it now, I can:

1) Depend on the person using the arrow to RP appropriately and hold their bow,

2) Require an if actortypewear(5) check to at least make sure the actor is wielding *some* type of weapon, but it could be a long sword, or a hatchet, or something else.

Other suggestions?
"There is no safety for honest men except by believing all possible evil of evil men."

Kregor - Ranger of Tangled Trees
Rozor - Lady Luck's Duelist
Tygen - Ranger-Bard of Mielikki
User avatar
Kregor
Sword Grand Master
Sword Grand Master
Posts: 1474
Joined: Sun Jul 11, 2004 6:14 am
Location: Baldur's Gate

Post by Kregor » Fri Jul 01, 2005 3:10 pm

Added :)
"There is no safety for honest men except by believing all possible evil of evil men."

Kregor - Ranger of Tangled Trees
Rozor - Lady Luck's Duelist
Tygen - Ranger-Bard of Mielikki
Post Reply