Page MenuHomeFeedback Tracker

lifeState never gets the "INCAPACITATED" state.
New, WishlistPublic

Description

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".

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.

Event Timeline

Altsor edited Steps To Reproduce. (Show Details)Nov 19 2015, 4:04 PM
Altsor edited Additional Information. (Show Details)
Altsor set Category to End Game - Revive.
Altsor set Reproducibility to Always.
Altsor set Severity to None.
Altsor set Resolution to Open.
Altsor set Legacy ID to 3238685623.May 8 2016, 1:06 PM
Bohemia added a subscriber: Altsor.Nov 19 2015, 4:04 PM

use (player getVariable "bis_revive_incapacitated") for now