when i use this (dunno how to make code tags here)
i wanna know how to make the Kill Unit NOT trigger the unit dies
Quote:
Unit Group - Pick each unit in Zergs and do (Actions)
Actions
Unit - Kill (Picked unit)
its triggering my Gain XP trigger
Quote:
Events
Unit - Any Unit dies
Local Variables
Conditions
(Triggering player) == 15
(Killing player) != 0
(Killing player) != 15
Day == false
Actions
more triggers
its a zombie map and ppl make money and exp off kills during the night, but i have a trigger that i want to make all the zombie die on day break without giving the players exp and money for the kills they arent killing.
and i have an endless night mode that needs zombies to die on at the end of every night
right now i have it flagged of its day or not. but it comes back to endless nights issue.
as fas as i know its a bad bug in the editor, due to the fact that the kill (picked unit) triggers it when in fact it shouldnt cuz no player killed it.
the goal of the custom condition is to specify valid players for rewarding xp to only valid players that have actually killed something ..... when you use the kill unit action there is no killing unit and the owner of killing units will generally result in using a value of "0" or give an error .... you should really avoid that
when i use this (dunno how to make code tags here) i wanna know how to make the Kill Unit NOT trigger the unit dies
its triggering my Gain XP trigger
yeah it is, whats your problem?
Intriguing. Do you happen to have a question of some sort?
its a zombie map and ppl make money and exp off kills during the night, but i have a trigger that i want to make all the zombie die on day break without giving the players exp and money for the kills they arent killing.
and i have an endless night mode that needs zombies to die on at the end of every night
right now i have it flagged of its day or not. but it comes back to endless nights issue.
as fas as i know its a bad bug in the editor, due to the fact that the kill (picked unit) triggers it when in fact it shouldnt cuz no player killed it.
Create a switch that is enabled during the day called "Daytime." Under conditions for your Unit Dies trigger, add Daytime == false.
@evil0z: Go
Add proper conditions to your triggers
the goal of the custom condition is to specify valid players for rewarding xp to only valid players that have actually killed something ..... when you use the kill unit action there is no killing unit and the owner of killing units will generally result in using a value of "0" or give an error .... you should really avoid that
Dont use "kill unit"
if i use remove unit it looks tacky cuz the units just vanish and not die
@evil0z: Go
killing a bunch of units for no reason is tacky from the begining
if you dont wanna use "remove unit" then make the other changes I explained so your players wont get xp when you use the "kill unit" action
its for mineralz i dunno if uve played that map or not best way i can say what i wanna do.