I'm trying to make the pulse stop if the player dies.
The following is within the pulse:
ThingFlags 0x2 means dead.
It doesn't stop the pulse. I think the first part isn't right. Know how to fix it?
The following is within the pulse:
Code:
if(GetThingFlags(GetLocalPlayerThing()) == 0x2)
{
SetPulse(0);
Return;
}ThingFlags 0x2 means dead.
It doesn't stop the pulse. I think the first part isn't right. Know how to fix it?