Revive
23 functions. Also as Markdown for agents.
- BIS_fnc_disableReviveDisable revive on given unit.
- BIS_fnc_reenableReviveEnable revive on given unit. Revive system needs to be initialized and running.
- BIS_fnc_reviveAllowedReturns true if unit is in general able to revive someone.
- BIS_fnc_reviveBleedOutMake a unit bleed out over time while incapacitated.
- BIS_fnc_reviveDamageResetResets player's damage data and received damage.
- BIS_fnc_reviveDebugDebug script for revive system.
- BIS_fnc_reviveEhDammagedunit: Object - Object the event handler is assigned to hitSelection: String - Name of the selection where the unit was damaged damage: Number -…
- BIS_fnc_reviveEhHandleDamageShould be excuted by HandleDamage event handler. See example. Handles damage calculation.
- BIS_fnc_reviveEhHandleHealHandles healing of unit. Unit gets fully healed after 10 seconds if current damage is smaller than initial damage, e.g. a medic healed the unit.
- BIS_fnc_reviveEhKilledShould be called from Killed event handler. Handles what happens if unit dies if revive system is enabled.
- BIS_fnc_reviveEhRespawnSets unit's state to respawned. Should probably only be called on respawn event.
- BIS_fnc_reviveEnabledReturns is revive is enabled or not for the unit.
- BIS_fnc_reviveGet3dIconsReturns structured text that can be displayed in 'Hold Action' tech as animated unconscious state icon.
- BIS_fnc_reviveGetActionIconReturns structured text that can be displayed in 'Hold Action' tech as animated unconscious state icon.
- BIS_fnc_reviveIconControlManage the adding, removing, and effects applied to 3D icons used for visualizing incapacitated units.
- BIS_fnc_reviveInitInitialize the Revive system on all machines.
- BIS_fnc_reviveIsValidCheck if player can perform revive action on given unit.
- BIS_fnc_reviveIsValidSecureCheck if player can perform secure action on given unit.
- BIS_fnc_reviveOnBeingRevivedUsed to execute specific code locally on every client whenever "being revived" flag changes.
- BIS_fnc_reviveOnForcingRespawnUsed to execute specific code localy on every client whenever 'forcing respawn' flag changes.
- BIS_fnc_reviveOnStateUsed to execute specific code localy on every client whenever unit's state changes.
- BIS_fnc_reviveOnStateJIPUsed to execute state specific code localy on client that is JIPping.
- BIS_fnc_reviveSecureUnitMake player secured (killed without execution penalties) by _source unit.