When the player has been hit, sets the player's fall variables.
Required parameters:
Optional parameters:
- value = fallset_flag (int)
If fallset_flag is -1, then this controller does not change whether the player will fall or not. A 0 fallset_flag means that the player should not fall, and a 1 means that he should.
Defaults to -1.
- value = fallset_flag (int)
If fallset_flag is -1, then this controller does not change whether the player will fall or not. A 0 fallset_flag means that the player should not fall, and a 1 means that he should.
Defaults to -1.
- xvel = x_velocity (float)
If specified, sets the player's fall.xvel parameter. This is the x-velocity that P2 gets when bouncing off the ground in the "fall" state. Defaults to no change if omitted.
- yvel = y_velocity (float)
If specified, sets the player's fall.yvel parameter. This is the y-velocity that P2 gets when bouncing off the ground in the "fall" state. Defaults to -4.5 if omitted.
Example:
none