(06-07-2014, 12:36 PM)Mudbill Wrote: eSpeed1 is defined as a float in the parameter of Again. The other Again that uses a string parameters does not conflict with the float one. Only constructors with the same parameters can conflict. For example, you can make OnStart("Answer") and OnStart(42) and neither of them will cause any issues for the normal OnStart() with no parameters.
@OP
So you're trying to reset the level if the player dies? I don't think OnEnter is called again when you respawn. You should use the CheckPoint script. It has a callback for when the player dies and where to respawn them.
CheckPoint (string& asName, string& asStartPos, string& asCallback, string& asDeathHintCat, string& asDeathHintEntry);
Yeah, but the problem is that if i use a checkpoint function the monster will disappear and so far i know that if you use a checkpoint function you'r progress on the level will be saved and i want to start all the CS from the beginning. At least that's what i'be seen so far on the game... Btw. I already checked the possibility of the dead script, the function Again doesn't interfere with the rest of the script, so we can set that aside