Jump to content

GetAttackSate


Lakan

Recommended Posts

Hi, I'm trying to replicate the Bashing mechanic within Skyrim, where it is based on how long you hold down the left mouse button, but I also realize that while you are bashing, you are in "AttackState" 6, so as such, I can see that this current code I've edited is going to cause a bit of problems, such as making my sword swing since the game will read me as still being in "attack state 1"

	ElseIf(keyCode == attackKeyCode)
		If(Input.HoldKey(256) && blocking)
			Debug.SendAnimationEvent(playerRef, "bashStart")
				If(Input.ReleaseKey(256))
					Debug.SendAnimationEvent(playerRef, "ReleaseBash")

How do I get the game to read me as "AttackState 6" which is bashing from here?

http://www.creationkit.com/Talk:GetAttackState

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...