10 m_ID = SymptomIDs.SYMPTOM_HAND_SHIVER;
11 m_SyncToClient =
false;
15 override void SetParam(
Param p)
17 Param1<int> p1 = Param1<int>.Cast(p);
20 m_ShakeLevel = p1.param1;
22 if ( m_ShakeLevel >
PlayerBase.SHAKE_LEVEL_MAX )
37 player.SetShakesForced(m_ShakeLevel);
42 player.SetShakesForced(0);
Base Param Class with no parameters. Used as general purpose parameter overloaded with Param1 to Para...
void OnGetActivatedServer(PlayerBase player)
gets called once on an Symptom which is being activated
void OnGetActivatedClient(PlayerBase player)
void OnInit()
this is just for the Symptom parameters set-up and is called even if the Symptom doesn't execute,...
void OnGetDeactivatedClient(PlayerBase player)
void OnUpdateClient(PlayerBase player, float deltatime)
gets called every frame
void OnGetDeactivatedServer(PlayerBase player)
only gets called once on an active Symptom that is being deactivated
int m_ID
ID of effect, given by SEffectManager when registered (automatically done when playing through it)