Difference between revisions of "Talk:GetAttackState"
imported>Bot Owned (further testing results) |
imported>Bot Owned m |
||
Line 36: | Line 36: | ||
Meaning I believe the list is as follows (Still in the process of testing.) | Meaning I believe the list is as follows (Still in the process of testing.) | ||
0: | 0: Not attacks being done (This also includes Magic casting which seems to not be counted as an attack state also blocking in included here unless you are shield bashing in which case it falls under state 6) | ||
1: Holding a Swing | 1: Holding a Swing (Unarmed, One hander, Two hander) | ||
2: Swing Released | 2: Swing Released (Unarmed, One hander, Two hander) | ||
3: Contact | 3: Contact (Unarmed, One hander, Two hander) | ||
4: Recovery (Melee Weapon) | 4: Recovery (Melee Weapon) | ||
5: Seems to be the instant the actor can attack again or finished Recovery I am | 5: Seems to be the instant the actor can attack again or finished Recovery (only for Unarmed, One hander, Two hander. I am however unsure of this one my Perk entry point only showed this sometimes but was always after 4 and before 0 so I am assuming this anyone able to confirm?) | ||
6: Bashing (This is any bash, Shield, Bow, Crossbow, One Handers, Two Handers, Torches etc.) | 6: Bashing (This is any bash, Shield, Bow, Crossbow, One Handers, Two Handers, Torches etc.) | ||
Line 63: | Line 63: | ||
13: Seems to be instant the actor finish recovery and are ready to shoot again or reload in the case of a crossbow () | 13: Seems to be instant the actor finish recovery and are ready to shoot again or reload in the case of a crossbow () | ||
I tested upto state 20 but nothing appeared after 13 so I am assuming that this is all there is. | |||
Still require testing to figure out exact states but this is how I believe this condition works. | Still require testing to figure out exact states but this is how I believe this condition works. | ||
[[User:Bot Owned|Bot Owned]] ([[User talk:Bot Owned|talk]]) 2013-04-26T02:12:16 (EDT) | [[User:Bot Owned|Bot Owned]] ([[User talk:Bot Owned|talk]]) 2013-04-26T02:12:16 (EDT) |
Revision as of 04:09, 26 April 2013
Values tested for the condition function GetAttackState ;
Note: It seems very inaccurate ( Maybe values aren't remaining the same a long time enough to be caught by my ability-spell script refresh ? )
Indices do not fit with other lists such as for : GetEquippedItemType
0 => NO WEAPON ATTACK. (Spell-casting won't change this value) - It looks like the only value to be really accurate (?)
1 => 1-Hand DAGGERS
2 => 1-Hand AXES
3 => 1-Hand SWORDS
4 => 1-Hand SWORDS
5 => 2-Hands AXES
6 => ...
7 => ...
8 => ...
9 => ...
10 /11 => BOW
I have conducted some testing on this as well and I actually believe it's based off a current attack state(Swing or otherwise)
Meaning I believe the list is as follows (Still in the process of testing.)
0: Not attacks being done (This also includes Magic casting which seems to not be counted as an attack state also blocking in included here unless you are shield bashing in which case it falls under state 6)
1: Holding a Swing (Unarmed, One hander, Two hander)
2: Swing Released (Unarmed, One hander, Two hander)
3: Contact (Unarmed, One hander, Two hander)
4: Recovery (Melee Weapon)
5: Seems to be the instant the actor can attack again or finished Recovery (only for Unarmed, One hander, Two hander. I am however unsure of this one my Perk entry point only showed this sometimes but was always after 4 and before 0 so I am assuming this anyone able to confirm?)
6: Bashing (This is any bash, Shield, Bow, Crossbow, One Handers, Two Handers, Torches etc.)
7: Unknown - If we follow the apparent pattern though 7 could be perhaps the instant the bash is finished?
8: Appears to be part of Reload/Draw for Bow but I can't tell (Maybe the instant the reload is finished? it's only appeared sometimes but it was always after the 9th state and not before.)
9: Drawing of a bow / Reload of a Crossbow
10: Seems to be holding a Shot (Crossbow/Bow)
11: Seems to be Release of a shot (Crossbow/Bow)
12: Recovery (For bow/Crossbow)
13: Seems to be instant the actor finish recovery and are ready to shoot again or reload in the case of a crossbow ()
I tested upto state 20 but nothing appeared after 13 so I am assuming that this is all there is.
Still require testing to figure out exact states but this is how I believe this condition works.