- Joined
- Feb 1, 2014
- Messages
- 19
Hello boys , it's me again
Could anyone please explain me why this triggers dont work?
This is a Calculating of "humanity system" when u kill a zombie to add zombie kills count and humanity value to +500 of the value.
Could anyone please explain me why this triggers dont work?
This is a Calculating of "humanity system" when u kill a zombie to add zombie kills count and humanity value to +500 of the value.
-
pricitani humanity
-

Events
-


Unit - A unit Dies
-
-

Conditions
-

Actions
-


Set killer = (Killing unit)
-


Set obet = (Dying unit)
-


For each (Integer A) from 1 to 9, do (Actions)
-



Loop - Actions
-




If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-





If - Conditions
-






(Unit-type of obet) Equal to zombici[(Integer A)]
-
-





Then - Actions
-






Set humanita[(Player number of (Owner of killer))] = (humanita[(Player number of (Owner of killer))] + 500.00)
-






Set zabil_zombies[(Player number of (Owner of killer))] = (zabil_zombies[(Player number of (Owner of killer))] + 1)
-
-





Else - Actions
-






Do nothing
-
-
-
-
-
-
-
zjistit humanitu
-

Events
-


Player - Player 1 (Red) types a chat message containing -humanity as An exact match
-


Player - Player 2 (Blue) types a chat message containing -humanity as An exact match
-


Player - Player 3 (Teal) types a chat message containing -humanity as An exact match
-


Player - Player 4 (Purple) types a chat message containing -humanity as An exact match
-


Player - Player 5 (Yellow) types a chat message containing -humanity as An exact match
-


Player - Player 6 (Orange) types a chat message containing -humanity as An exact match
-


Player - Player 7 (Green) types a chat message containing -humanity as An exact match
-


Player - Player 8 (Pink) types a chat message containing -humanity as An exact match
-


Player - Player 9 (Gray) types a chat message containing -humanity as An exact match
-


Player - Player 10 (Light Blue) types a chat message containing -humanity as An exact match
-
-

Conditions
-


((Triggering player) controller) Equal to User
-
-

Actions
-


Player Group - Add (Triggering player) to humanita_skupina
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




((Picked player) is in humanita_hrdinove) Equal to True
-
-



Then - Actions
-




Game - Display to humanita_skupina the text: (YOUR HUMANITY IS + (|c006969FF + ((String(humanita[(Player number of (Picked player))])) + |r)))
-




Player Group - Remove (Picked player) from humanita_skupina
-
-



Else - Actions
-




If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-





If - Conditions
-






((Picked player) is in humanita_banditove) Equal to True
-
-





Then - Actions
-






Game - Display to humanita_skupina the text: (YOUR HUMANITY IS + (|c00FF0000 + ((String(humanita[(Player number of (Picked player))])) + |r)))
-






Player Group - Remove (Picked player) from humanita_skupina
-
-





Else - Actions
-






Game - Display to humanita_skupina the text: (YOUR HUMANITY IS + (|c00FFFFFF + ((String(humanita[(Player number of (Picked player))])) + |r)))
-






Player Group - Remove (Picked player) from humanita_skupina
-
-
-
-
-
-
-
zjistit humanitu Copy
-

Events
-


Player - Player 1 (Red) types a chat message containing -kills as An exact match
-


Player - Player 2 (Blue) types a chat message containing -kills as An exact match
-


Player - Player 3 (Teal) types a chat message containing -kills as An exact match
-


Player - Player 4 (Purple) types a chat message containing -kills as An exact match
-


Player - Player 5 (Yellow) types a chat message containing -kills as An exact match
-


Player - Player 6 (Orange) types a chat message containing -kills as An exact match
-


Player - Player 7 (Green) types a chat message containing -kills as An exact match
-


Player - Player 8 (Pink) types a chat message containing -kills as An exact match
-


Player - Player 9 (Gray) types a chat message containing -kills as An exact match
-


Player - Player 10 (Light Blue) types a chat message containing -kills as An exact match
-
-

Conditions
-


((Triggering player) controller) Equal to User
-
-

Actions
-


Player Group - Add (Triggering player) to zjistit_killy
-


Game - Display to zjistit_killy the text: (BANDIT KILLS : + (String(zabil_bandit[(Player number of (Picked player))])))
-


Game - Display to zjistit_killy the text: (HERO KILLS : + (String(zabil_heroes[(Player number of (Picked player))])))
-


Game - Display to zjistit_killy the text: (SURVIVOR KILLS : + (String(zabil_survivora[(Player number of (Picked player))])))
-


Game - Display to zjistit_killy the text: (ZOMBIE KILLS : + (String(zabil_zombies[(Player number of (Picked player))])))
-


Player Group - Remove (Picked player) from zjistit_killy
-
-













