You see, I'm having a problem with the .setInvincibleMode method.
The thing is, it doesn't seem to work at all.
I make a minigame with all types of damage on, and a turret brick on the other side of a "wall" brick, to test with.
I open the mission editor, find the Object ID of my player, close the mission editor, then I open the console and type:
%PLAYER_OBJ_ID.setInvincibleMode(25, 0.5);
No errors are reported in the console, but nothing happens.
You see, this SHOULD make my screen flash blue, and I should be invincible. Instead, I end up pseudo-suiciding via turret.
What am I doing wrong here?
I want to know how to make this work correctly, so I can make an item which makes you invincible...
*Note: setInvincibleMode(%time, %blinkRate) is reported as a valid method through a %player.dump(); .