[DiscordArchive] I'm looking into fixing the Triage quests. Currently it's impossible because they die far far too fa
[DiscordArchive] I'm looking into fixing the Triage quests. Currently it's impossible because they die far far too fa
Archived author: Deleted User • Posted: 2022-07-08T19:58:58.112000+00:00
Original source
I'm looking into fixing the Triage quests. Currently it's impossible because they die far far too fast, I've fixed that which has now presented another issue. They set the following:
```
//no select
me->RemoveUnitFlag(UNIT_FLAG_UNINTERACTIBLE);
//no regen health
me->SetUnitFlag(UNIT_FLAG_IN_COMBAT);
//to make them lay with face down
me->SetStandState(UNIT_STAND_STATE_DEAD);
```
Which should mean that their health can tick down continually however that just straight up isn't working. They spawn, get their health cut down properly, then start regenerating health which means the "PatientDied" can never occur.
Is there something else I'm missing that would make it so their health can actually tick down?