HitFallSet (SCTRL (Read 1246 times)

Started by Just No Point, October 29, 2015, 01:55:03 pm
Share this topic:
HitFallSet (SCTRL
#1  October 29, 2015, 01:55:03 pm
  • ******
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 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.