Difference between revisions of "IsAttacking"
Jump to navigation
Jump to search
→Notes: Returns true while power attacking
imported>Haama (More links) |
imported>Shademe (→Notes: Returns true while power attacking) |
||
Line 9: | Line 9: | ||
== Notes == | == Notes == | ||
* Will return 1 while the player is attacking, sometimes even longer than [[IsCasting]]. Probably true for other actors as well. | * Will return 1 while the player is attacking, sometimes even longer than [[IsCasting]]. Probably true for other actors as well. | ||
* Will return 1 for a few frames while the player is power attacking as well. In cases where a normal and a power attack is to be differentiated, [[onControlDown]] and [[isControlPressed]] can be substituted for [[isAttacking]] and [[isPowerAttacking]] respectively, with appropriate checks. | |||
== See Also == | == See Also == |