Hello everybody on the forum, this is me Badcat with another stupid problem that never works.
So the problem here is that I made tons of script areas which goes active in a certian timer, every 1 second a script area appears one after another. Like so
Now when the player collides with the area, it should kill him instantly but ofc everything bad happens to me so it doesn't work.
I also made this in void OnStart
for(int i=1; i<=28; ++i) AddEntityCollideCallback("Player", "ScriptArea_"+i, "Diecollide", false, 1);
which is for every area, and this too
void Diecollide(string &in asParent, string &in asChild, int alState)
{
AddPlayerHealth(-200);
}
Of what will happen when the player collides with the certain area.
I also added a debug message to the script but still nothin, guess what??
The debug message doesn't appear cause hpl2 hates me.
So if you guys could help me solve the problem or not then thnx, idk and I can't find a problem like always.
I tried help from Flawless, Neelke, Lazzer but we couldn't find it so if you guys do then peace and thnx :p