Toranks
Active member
The manual says:
None of these conditionals work. What am I doing wrong?
#------------#
This code has problems if the player is already invulnerable by magic moves, being hit, rotating attack (attack+jump), etc. Does anyone know a solution or alternative to guarantee 1850 ticks of invencibility?
#-----------------#
This
Changes the model keeping MP and HP
But this:
Refills HP and MP to full. Why? How I can avoid that?
(All of these are questions I did on Discord and they couldn't be answered or I didn't find a solution)
But“slowmotion”, – detects it the slowmotion is active. Useful to detect boss kill (if the slowmotion isn’t disabled)
C#:
if (openborvariant("slowmotion"))
if (openborvariant("slowmotion") == 1)
None of these conditionals work. What am I doing wrong?
#------------#
C#:
if(player1 != NULL()){
changeentityproperty(player1, "invincible", 1);
changeentityproperty(player1, "invinctime", eTime + 1850);
changeentityproperty(player1, "blink", 1);
This code has problems if the player is already invulnerable by magic moves, being hit, rotating attack (attack+jump), etc. Does anyone know a solution or alternative to guarantee 1850 ticks of invencibility?
#-----------------#
This
C#:
changeentityproperty(P1, "model", Name, 0);
Changes the model keeping MP and HP
But this:
C#:
changeentityproperty(P1, "model", Name, 0);
changeentityproperty(P1, "defaultname", Name);
Refills HP and MP to full. Why? How I can avoid that?
(All of these are questions I did on Discord and they couldn't be answered or I didn't find a solution)