• Register
Forum Thread
  Posts  
Current health inventory in GZDoom problem (Forums : Coding & Scripting : Current health inventory in GZDoom problem) Locked
Thread Options
Jun 17 2020 Anchor

How to keep the current health inventory for the player class after unmorphing in GZDoom? When the player class get back from morphing status, The health get 100 again whatever the clash health was before morphing. how to solve that?

script 524 (void)
{
int morphed = MorphActor(0, "ShrunkMarine", "", 350, 0, "NoFlash", "NoFlash");
}


Thanks

Jun 17 2020 Anchor

..who knows, some example here ..
SetActorProperty("ShrunkMarine", APROP_HEALTH, 350);

realy don`t know man search here:
Zdoom.org

Jun 18 2020 Anchor
Bazlik_Commander wrote:

..who knows, some example here ..
SetActorProperty("ShrunkMarine", APROP_HEALTH, 350);

realy don`t know man search here:
Zdoom.org

Actually I tried this but nothing happened, Even that I asked the same question in ZDoom Forums but no answers till now.

Reply to thread
click to sign in and post

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.