HitFallSet (SCTRL

Started by JustNoPoint, October 29, 2015, 01:55:03 PM

Previous topic - Next topic

JustNoPoint

When the player has been hit, sets the player's fall variables.

Required parameters:
none

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 fallset_flag of 0 means that the player should not fall, and a 1 means that he should. Defaults to -1.

xvel = x_velocity (float)
See below.

yvel = y_velocity (float)
If specified, sets the player's fall.xvel and fall.yvel parameters, respectively. See HitDef for a description of these parameters.

Example:
none