Editing GetHitLocation
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 15: | Line 15: | ||
*This information is not available in the [[OnHit]] and [[OnHitWith]] script blocks, unlike [[GetLastHitCritical]]. | *This information is not available in the [[OnHit]] and [[OnHitWith]] script blocks, unlike [[GetLastHitCritical]]. | ||
*The body locations and corresponding numbers are: | *The body locations and corresponding numbers are: | ||
**NONE = -1 | |||
**TORSO = 0 | |||
**HEAD_1 = 1 | |||
**HEAD_2 = 2 | |||
**LEFT_ARM_1 = 3 | |||
**LEFT_ARM_2 = 4 | |||
**RIGHT_ARM_1 = 5 | |||
**RIGHT_ARM_2 = 6 | |||
**LEFT_LEG_1 = 7 | |||
**LEFT_LEG_2 = 8 | |||
**LEFT_LEG_3 = 9 | |||
**RIGHT_LEG_1 = 10 | |||
**RIGHT_LEG_2 = 11 | |||
**RIGHT_LEG_3 = 12 | |||
**BRAIN = 13 | |||
*GetHitLocation won't work if used in a weapon's Object Effect, but will work if used in the weapon's Crit Effect. | *GetHitLocation won't work if used in a weapon's Object Effect, but will work if used in the weapon's Crit Effect. | ||
*GetHitLocation will only return the correct value in a [[GameMode]] block in the frame that the reference is killed. | *GetHitLocation will only return the correct value in a [[GameMode]] block in the frame that the reference is killed. |