YesNoOk
avatar

FallEnvShake (SCTRL) (Read 2734 times)

Started by JustNoPoint, October 29, 2015, 01:47:56 pm
Share this topic:
FallEnvShake (SCTRL)
New #1  October 29, 2015, 01:47:56 pm
  • ******
    • www.justnopoint.com/
Shakes the screen using the fall.envshake parameters set by an attack (see HitDef controller). This controller is effective only if GetHitVar(fall.envshake.time) is not zero, and it sets GetHitVar(fall.envshake.time) to zero after being executed. This controller is used in common1.cns to shake the screen when a player falls, and is not normally useful otherwise.

Required parameters:
none

Optional parameters:
none

Example:
Code:
[State 5000, EnvShake]
type = FallEnvShake
trigger1 = Time = 0
Last Edit: March 24, 2018, 07:57:42 pm by Odb718