26 m_ID = SymptomIDs.SYMPTOM_FEVERBLUR;
31 if ( !
GetGame().IsDedicatedServer() )
Super root of all classes in Enforce script.
static void SymptomLog(string message=LOG_DEFAULT, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
static bool IsSymptomLogEnable()
const float BLUR_STRENGTH_MIN
override void OnGetActivatedClient(PlayerBase player)
const float BLUR_STRENGTH_MAX
override void OnGetActivatedServer(PlayerBase player)
gets called once on an Symptom which is being activated
bool m_DestroyOnAnimFinish
override void OnGetDeactivatedServer(PlayerBase player)
const int BLUR_DURATION_TIME_MIN
const int MAX_TIME_BETWEEN_EFFECTS
override void OnUpdateClient(PlayerBase player, float deltatime)
PPERequester_FeverEffects m_Requester
override void OnUpdateServer(PlayerBase player, float deltatime)
gets called every frame
override void OnGetDeactivatedClient(PlayerBase player)
only gets called once on an active Symptom that is being deactivated
const int MIN_TIME_BETWEEN_EFFECTS
const int BLUR_DURATION_TIME_MAX
proto native CGame GetGame()
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.
static float RandomFloatInclusive(float min, float max)
Returns a random float number between and min [inclusive] and max [inclusive].
static proto float RandomFloat(float min, float max)
Returns a random float number between and min[inclusive] and max[exclusive].
static proto float Sin(float angle)
Returns sinus of angle in radians.