qevhytpl 18 Posted June 17 For single-player mode, I added "killed" EH to each unit in order to keep the game going; when the unit I control gets shot, the system switches to another unit for me to play with. However, I'm having awkward problems with the selectplayer command, for example, if I get blown up by artillery fire, the screen is dead, and the screen is blurred to simulate a near-death state. At this point, even though I switch to the next unit, the blurred screen does not return to a clear state, making it impossible to continue the game. How can I solve this problem? _array = allunits select {side _x == Myside}; _Nextunit = selectRandom _array; selectplayer _Nextunit; Share this post Link to post Share on other sites
qevhytpl 18 Posted June 17 same issue [HELP!] SP Respawn: how to disable Blur and RedScreen after death?? Share this post Link to post Share on other sites
pierremgi 4850 Posted June 17 As you can read on BIKI, selectPlayer command is not so easy for use. In my "SP SIMPLE RESPAWN" module I prefered handle damages by event handler, so the SP falls unconscious for some time then continue, with equipment at start or at death... If you really want to shift on another unit, you could mix handle damage EH (iot avoid death), selectPlayer then kill the former unit. Not tested. 1 Share this post Link to post Share on other sites