Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
Triggers
L4d Revolution v1.02.w3x
Variables
Map
Basic Ammo Cut
Infected
Infect
HTML Help File Switch
HTML Help File Switch Shotgun
HTML Help File Switch USP
Switch Weapons
Shotgun
USP
Enter map-specific custom script code below. This text will be included in the map script after variables are declared and before any trigger code.
Name
Type
is_array
initial_value
Ammo
real
No
-1.00
Basic Ammo Cut
Events
Unit - A unit Is attacked
Conditions
(Unit-type of (Attacking unit)) Equal to Survivor
Actions
Unit - Cause (Attacking unit) to damage (Target unit of issued order) , dealing 12.00 damage of attack type Normal and damage type Death
Infect
Events
Unit - A unit Dies
Conditions
((Killing unit) is Undead) Equal to True
Actions
Game - Display to (All players) for 10.00 seconds the text: (Name of (Owner of (Dying unit)))
Game - Display to (All players) for 10.00 seconds the text: Is Infected!
Unit - Create 1 . Walking Dead for (Owner of (Killing unit)) at (Position of (Dying unit)) facing Default building facing degrees
Special Effect - Create a special effect attached to the overhead (Unexpected type: 'attachpoint') of (Dying unit) using Abilities\Spells\Undead\AnimateDead\AnimateDeadTarget.mdl
HTML Help File Switch (Shotgun) Trigger 01 [Name it to Change to Shotgun] Event: A unit starts the effect of an ability. Condition: (Ability being cast) equal to Change Weapon to Shotgun. Action: Unit - Remove USP from (Triggering unit). Unit - Add Shotgun to (Triggering unit). Unit - Add Change Weapon to USP to (Triggering unit).
HTML Help File Switch (USP) Trigger 01 [Name it to Change to USP] Event: A unit starts the effect of an ability. Condition: (Ability being cast) equal to Change Weapon to USP. Action: Unit - Remove Shotgun from (Triggering unit). Unit - Add USP to (Triggering unit). Unit - Add Change Weapon to Shotgun to (Triggering unit).
Shotgun
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Change Weapon to Shotgun
Actions
Unit - Remove USP from (Triggering unit)
Unit - Add Shotgun to (Triggering unit)
Unit - Add Change Weapon to USP to (Triggering unit)
Unit - Remove Change Weapon to Shotgun from (Triggering unit)
USP
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Change Weapon to USP
Actions
Unit - Remove Shotgun from (Triggering unit)
Unit - Add USP to (Triggering unit)
Unit - Add Change Weapon to Shotgun to (Triggering unit)
Unit - Remove Change Weapon to USP from (Triggering unit)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.