Fumbling weapon help
-
- Sojourner
- Posts: 110
- Joined: Tue Jan 30, 2001 6:01 am
- Location: West Plains, MO USA
- Contact:
Fumbling weapon help
Okay, I have this trigger I use to grab my weapon after I fumble, the problem is that every single weapon I have seen starts with 'a' and my trigger keeps trying to grab the 'a' and wield it and it isnt working out....need some help, here is my existing trigger I use:
You swing _really_ badly, sending your %1 flying!
get %1
wield %1
------------------
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Zuurn Shatter Skull (Troll)(RP) stands here.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
You swing _really_ badly, sending your %1 flying!
get %1
wield %1
------------------
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Zuurn Shatter Skull (Troll)(RP) stands here.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-
- Sojourner
- Posts: 676
- Joined: Fri Jan 26, 2001 6:01 am
- Location: O' Fallon, MO. USA
- Contact:
At work so this is from memory.
#TR {sending your *{(@weapons)}*} {get %1;wield %1} TriggerName
where variable weapons contains all weapons you are likely to use.
#VAR weapons "sword|axe|pick|horn|etc, etc"
The only time this doesn't work is if the weapon name is different from the get text. This of course you'll need special trigger for anyways.
------------------
Gindipple (Gnome) stands here.
#TR {sending your *{(@weapons)}*} {get %1;wield %1} TriggerName
where variable weapons contains all weapons you are likely to use.
#VAR weapons "sword|axe|pick|horn|etc, etc"
The only time this doesn't work is if the weapon name is different from the get text. This of course you'll need special trigger for anyways.
------------------
Gindipple (Gnome) stands here.
Gindipple's post is the way to go if you are comfortable with variables and whatnot.
If you are really new and have no idea how to get it to work, here is the basic principle.
Whatever they keyword of your weapon is, hopefully it will have the same word in the description so you would use something like this:
#ac {sending your%1sword%2} {get sword;wield sword}
If for some reason, you have a bizarre weapon that isn't the same just change what is between %1 %2 to something that is in the description. Another example, sort of the inverse of what I'm saying above, you can use any keyword the item has. Like the flamberge's keywords are sword, two-handed, flamberge, and flaming (I think)..the point is it has multiple. So if you have a flaming holy flamberge of the efreeti, you can use this trigger:
#ac {sending your%1flamberge%2} {get sword;wield sword}
get it? hehe...
Wobb
If you are really new and have no idea how to get it to work, here is the basic principle.
Whatever they keyword of your weapon is, hopefully it will have the same word in the description so you would use something like this:
#ac {sending your%1sword%2} {get sword;wield sword}
If for some reason, you have a bizarre weapon that isn't the same just change what is between %1 %2 to something that is in the description. Another example, sort of the inverse of what I'm saying above, you can use any keyword the item has. Like the flamberge's keywords are sword, two-handed, flamberge, and flaming (I think)..the point is it has multiple. So if you have a flaming holy flamberge of the efreeti, you can use this trigger:
#ac {sending your%1flamberge%2} {get sword;wield sword}
get it? hehe...
Wobb
Quick and easy variables :
#al pri {#var {primary} %1}
#act {sending your} {get @primary;wield @primary}
basically type pri <weapon keyword> and that will set the variable to it and when you fumble it will type out get <weapon keyword>;wield <weapon keyword>
useful alias to go along with this :
#al g {get @primary;wield @primary}
in case you're in the middle of spells or are somehow unable to get the weapon the first time.
#al pri {#var {primary} %1}
#act {sending your} {get @primary;wield @primary}
basically type pri <weapon keyword> and that will set the variable to it and when you fumble it will type out get <weapon keyword>;wield <weapon keyword>
useful alias to go along with this :
#al g {get @primary;wield @primary}
in case you're in the middle of spells or are somehow unable to get the weapon the first time.
-
- Sojourner
- Posts: 110
- Joined: Tue Jan 30, 2001 6:01 am
- Location: West Plains, MO USA
- Contact:
Thanks you guys, actually I was using the same form as Elseenas showed, just lost it when Soj2 shutdown and I got rid of my unregistered copy of Zmud for the time being. I did register though.
------------------
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Zuurn Shatter Skull (Troll)(RP) stands here.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
------------------
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Zuurn Shatter Skull (Troll)(RP) stands here.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
What I use is pretty similar to the @primary the other people are talking about, i just had this alias:
#alias wld {#var weapon %1;wield %1}
and trig:
#trig {You swing really badly, sending your} {get @weapon;wield @weapon}
Not sure if the drop weapon message in the trig is correct....
I've used this for so long, I can't remember the last time I actually typed wield :)
Not counting this post of course
Only problems I ran into was dualing
The trigs for that were a bit messy
#alias wld {#var weapon %1;wield %1}
and trig:
#trig {You swing really badly, sending your} {get @weapon;wield @weapon}
Not sure if the drop weapon message in the trig is correct....
I've used this for so long, I can't remember the last time I actually typed wield :)
Not counting this post of course
Only problems I ran into was dualing
The trigs for that were a bit messy
Well, all of the suggestions listed that I have seen on this board fail either one (or both) of two tests.
1. Last word of item name is not a keyword
(such as a dark steel longsword where longsword is not a keyword)
2. They do not account for dual wielding without requiring a trigger (or test string) per item.
So, I devised this little trigger * alias combo
Trigger Text:
You swing _really_ badly, sending your &{wpn_lost} flying!
Trigger Response:
#va wpn_key %word( %trim( @wpn_lost), %numwords( @wpn_lost))
#if (%trim( @wpn_lost) = a dark steel longsword) {#va wpn_key sword}
rewield
You can add non-name string keywords with entries in the trigger similar to the a dark steel longsword #if line.
Alias: REWIELD
Alias Script:
get @wpn_key
wield @wpn_key
edit = (put wrong variable in alias by accident - been corrected)
Basically, it this in effect allows a "Case" statement trigger. Just a thought.
[This message has been edited by Danilor (edited 06-12-2001).]
[This message has been edited by Danilor (edited 06-14-2001).]
1. Last word of item name is not a keyword
(such as a dark steel longsword where longsword is not a keyword)
2. They do not account for dual wielding without requiring a trigger (or test string) per item.
So, I devised this little trigger * alias combo
Trigger Text:
You swing _really_ badly, sending your &{wpn_lost} flying!
Trigger Response:
#va wpn_key %word( %trim( @wpn_lost), %numwords( @wpn_lost))
#if (%trim( @wpn_lost) = a dark steel longsword) {#va wpn_key sword}
rewield
You can add non-name string keywords with entries in the trigger similar to the a dark steel longsword #if line.
Alias: REWIELD
Alias Script:
get @wpn_key
wield @wpn_key
edit = (put wrong variable in alias by accident - been corrected)
Basically, it this in effect allows a "Case" statement trigger. Just a thought.
[This message has been edited by Danilor (edited 06-12-2001).]
[This message has been edited by Danilor (edited 06-14-2001).]
since like someone mentioned not always you can get weapon name from fumble text
i was using and works pretty good few weapons
that i recently using variables
problem that in this case U can pick too much weapons
trig text:
You swing _really_ badly, sending
response:
get @weapon1
wield @weapon1
get @weapon2
wield @weapon2
get @weapon3
wield @weapon3
I got another problem maybe someone already solved it?
if i fumble weapon as caster usualy im 'too busy casting' to pick up weapon and if there are spam i can even miss this
lost few weapons already :/
i was using and works pretty good few weapons
that i recently using variables
problem that in this case U can pick too much weapons
trig text:
You swing _really_ badly, sending
response:
get @weapon1
wield @weapon1
get @weapon2
wield @weapon2
get @weapon3
wield @weapon3
I got another problem maybe someone already solved it?
if i fumble weapon as caster usualy im 'too busy casting' to pick up weapon and if there are spam i can even miss this
lost few weapons already :/
someone posted a trig for casters fumbling right before cast, think it was vazzgo
sorry, i'm too lazy to look it up, but it was a while ago, probably a page or two back
an alias that might help you out, say if you got weapon set as a variable
#alias g {get @weapon;wield @weapon}
so just type g if you fail to pick up weapon
think someone else may have posted same alias in this thread *shrug* but it helps
oh and my messy dual trigs, well they never come into play, considering my dual wield is 2 :P no true troll duals, dualings for those pesky treehuggers!! *nod me* still don't know how i got dual to 2, i never prac'd it, same with headbutt *mutter*
gurzog - dies enough that he doesn't want to be tempted to have a headbutt death :P
[This message has been edited by gurzog (edited 07-06-2001).]
sorry, i'm too lazy to look it up, but it was a while ago, probably a page or two back
an alias that might help you out, say if you got weapon set as a variable
#alias g {get @weapon;wield @weapon}
so just type g if you fail to pick up weapon
think someone else may have posted same alias in this thread *shrug* but it helps
oh and my messy dual trigs, well they never come into play, considering my dual wield is 2 :P no true troll duals, dualings for those pesky treehuggers!! *nod me* still don't know how i got dual to 2, i never prac'd it, same with headbutt *mutter*
gurzog - dies enough that he doesn't want to be tempted to have a headbutt death :P
[This message has been edited by gurzog (edited 07-06-2001).]
Haven't tried this but it should work for those casters out there who fumble before they cast. (4 triggers)
Fumble1
~~~~~~~
Trigger: You swing _really_ badly, sending your (*) (%w) flying!
Command: #var primary %2; #T+ fumble2; #T+ fumble4; get %2; wield %2
Fumble2
~~~~~~
Trigger: You're busy spellcasting!
Command: #T+ fumble3
Fumble3
~~~~~~~~
Trigger: You complete your spell...
Command: #T- fumble2; get @primary; wield @primary; #T- fumble3
Fumble4
~~~~~~~
Trigger: You wield
Command: #T- fumble2; #T- fumble4
Fumble1
~~~~~~~
Trigger: You swing _really_ badly, sending your (*) (%w) flying!
Command: #var primary %2; #T+ fumble2; #T+ fumble4; get %2; wield %2
Fumble2
~~~~~~
Trigger: You're busy spellcasting!
Command: #T+ fumble3
Fumble3
~~~~~~~~
Trigger: You complete your spell...
Command: #T- fumble2; get @primary; wield @primary; #T- fumble3
Fumble4
~~~~~~~
Trigger: You wield
Command: #T- fumble2; #T- fumble4
-
- Sojourner
- Posts: 96
- Joined: Tue Feb 06, 2001 6:01 am
- Location: Gudalajara, Jalisco, Mexico
- Contact:
If you are a caster and your fumbling trigger didn't worked cuz you were casting, then you might need this:
#TRIGGER {You swing _really_ badly(*)@weapon(*)} {get @weapon;wield @weapon;#var weaponstat 0}
#TRIGGER {You wield(*)@weapon(*)} {#var weaponstat 1}
#TRIGGER {You complete your spell} {#if (@weaponstat = 0) {take @weapon;wield @weapon;#var weaponstat 1}}
This will make your triggers to take your weapon after you finish the spell so you don't need to get it manually.
#TRIGGER {You swing _really_ badly(*)@weapon(*)} {get @weapon;wield @weapon;#var weaponstat 0}
#TRIGGER {You wield(*)@weapon(*)} {#var weaponstat 1}
#TRIGGER {You complete your spell} {#if (@weaponstat = 0) {take @weapon;wield @weapon;#var weaponstat 1}}
This will make your triggers to take your weapon after you finish the spell so you don't need to get it manually.
Who is online
Users browsing this forum: No registered users and 15 guests