Moving an enemy far enough away from the player for it to respawn onDeath, than a delay of 2 or more frames, and back to its original place again, will make it respawn when it dies. This is useful for when you want to have invisible enemy hitboxes that last forever. I have some other uses too, those are secret for now. :3
Here are some examples:
- Code: Select all
150x50~.7050aa450~~~~0;144;1464;1;0;0~50;272;1504;0;;1;1;2;move,this,0,0,1,0:sleep,2:move,this,272,1504,1,0|55;400;1504;0;;1;1;3;move,this,0,0,1,0:sleep,2:move,this,400,1504,1,0|74;528;1504;0;;1;1;5;move,this,0,0,1,0:sleep,2:move,this,528,1504,1,0|58;656;1504;0;;1;1;3;move,this,0,0,1,0:sleep,2:move,this,656,1504,1,0|71;784;1504;0;;1;1;6;move,this,0,0,1,0:sleep,2:move,this,784,1504,1,0~Respawning%20enemies~AwesomeJRFD~1~1;0;0~1~0;0~0;0;3~1389763041~0.4