163 if (
victim.IsZombieMilitary())
169 if (
source.IsMeleeWeapon())
190 Print(
"Achievements: Cannot send achievement event. Error ID: " +
error);
@ ACTION_IGNITE_FIRE_HAND_DRILL
@ ACTION_IGNITE_FIRE_MATCHBOX
@ ACTION_HANDCUFF_SURVIVOR
@ ACTION_IGNITE_FIRE_ROAD_FLARE
@ ACTION_APPLY_MEDS_ON_SURVIVOR
Achievements AchievementsXbox
@ RANK_SURVIVOR
must be TARGET_SURVIVOR
@ RANK_INFECTED
must be TARGET_INFECTED
@ RANK_INFECTED_SOLDIER
must be TARGET_INFECTED
static void OnActionIgniteRoadflare()
static void OnCookedSteak()
static void OnActionDrink()
static void OnActionIgniteMatchbox()
static proto EAchievementError SendEventKill(EAchievementTargetId target_id, EAchievementRankId rank_id, EAchievementRangeId range_id, EAchievementHitId hit_id, float distance)
static void OnActionIgniteDrill()
static void OnActionHandcuff()
static void OnActionMedsSurvivor()
static void OnActionEat()
static void OnEquippedFullGear()
static void OnActionGutDeer()
static void OnActionShave()
static void CheckError(EAchievementError error)
static void OnPlayerKilled(EntityAI victim, EntityAI killer, EntityAI source, bool is_headshot)
static proto EAchievementError SendEventAction(EAchievementActionId action_id)
static proto native float Distance(vector v1, vector v2)
Returns the distance between tips of two 3D vectors.
proto void Print(void var)
Prints content of variable to console/log.