05-01-2013, 06:02 AM
(05-01-2013, 04:54 AM)STR_Warrior Wrote: i think you should change " if (HasKilled) then" to "if HasKilled == true then"
Definitely NOT. Do NOT compare boolean values, that's bad practice in C++ and makes the code less readable.
I think the problem is that you're using two variable names: You have HasSpawned and set HasSpawned to true, but then test HasKilled, which, in this piece of code, is undeclared.