Description- keep taking damage by hunter/jockey/charger/smoker attacker or be incapacitated, you can self escape from the skill and instantly kill the special infected.
Cvars
PHP Code:
// keep take damage over than this value, self escape
// -
// Default: "60"
// Minimum: "1.000000"
self_escape_damage "60"
// which type of self escape will enable? 1 = keep take damage before incapacitated, 2 = be incapacitated. add numbers together
// -
// Default: "3"
// Minimum: "0.000000"
// Maximum: "3.000000"
self_escape_enable "3"
// 1 = enable, 0 = disable. ignite si before kill?
// -
// Default: "1"
self_escape_ignite "1"
Forwards
Spoiler
PHP Code:
/**
* @brief Called when cleared special infected health to 1 before instantly kill it
*
* @param client client index
* @param healthBefore how many health does the si have before clear
* @param amout how many health cleared
* @param owner survivor index who cause the health clear
*
* @noreturn
*/
forward void SelfEscape_OnClearedSpecialInfectedHealth(int client, int healthBefore, int amout, int owner);
Change log