Been using the End game revive functions in MP missions. Works fine, but as the title says, (lifeState unit) never returns "INCAPACITATED" even if the unit is actually incapacitated. In fact it returns "HEALTHY".
Description
Description
Details
Details
- Legacy ID
- 3238685623
- Severity
- None
- Resolution
- Open
- Reproducibility
- Always
- Category
- End Game - Revive
Steps To Reproduce
Use the revive template in description.ext of a MPmission.
respawn = 3;
respawnTemplates[] = {"Revive","MenuPosition"};
respawnOnStart = -1;
Put a trigger in the editor with (lifeState unit == "INCAPACITATED") as condition and let the trigger display a hint or blow something up on activation.
Incapacitate yourself (unit) and notice how the trigger is not activated.
Use identical setup for "DEAD_RESPAWN" and notice that that works fine.
Additional Information
I also made a loop script that displayed (hint (lifeState unit);) and it displayed "HEALTHY" when I was incapacitated.