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!
If checks on wielding
-
- Sword Grand Master
- Posts: 384
- Joined: Mon Nov 10, 2003 9:03 pm
- Location: Outskirts of Waterdeep
- Contact:
If checks on wielding
"May your travels be Wonderful and Mysterious."
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?
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
Kregor - Ranger of Tangled Trees
Rozor - Lady Luck's Duelist
Tygen - Ranger-Bard of Mielikki