BIS fnc reviveOnBeingRevived: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[cC]ategory:[fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *U([a-z ])" to "$1 - u$2")
 
(13 intermediate revisions by the same user not shown)
Line 2: Line 2:


|game1= arma3
|game1= arma3
|version1= 1.42
|version1= 1.42


|gr1 = Revive
|gr1= Revive


|descr= Used to execute specific code locally on every client whenever "being revived" flag changes.
|descr= Used to execute specific code locally on every client whenever "being revived" flag changes.
Line 13: Line 12:
|p1= nil: [[Nothing]] - ''This parameter has not been implemented''
|p1= nil: [[Nothing]] - ''This parameter has not been implemented''


|p2= flagState: [[Boolean]] - (Optional, default [[false]]) Flag state - [[true]] or [[false]]
|p2= flagState: [[Boolean]] - (Optional, default [[false]]) flag state - [[true]] or [[false]]


|p3= unit: [[Object]] - Unit to set the flag for
|p3= unit: [[Object]] - unit to set the flag for


|r1= [[Boolean]] - Returns [[true]] or [[Nothing]] if state didn't change
|r1= [[Boolean]] - returns [[true]] or [[Nothing]] if state didn't change


|x1= <code>[<nowiki/>[[nil]], [[true]], squadLeader] [[call]] [[BIS_fnc_reviveOnBeingRevived]];</code>
|x1= <sqf>[nil, true, squadLeader] call BIS_fnc_reviveOnBeingRevived;</sqf>


|seealso= [[Arma 3 Revive]] [[BIS_fnc_reenableRevive]] [[BIS_fnc_reviveAllowed]] [[BIS_fnc_reviveBleedOut]] [[BIS_fnc_reviveDamageReset]] [[BIS_fnc_reviveDebug]] [[BIS_fnc_reviveEhDammaged]] [[BIS_fnc_reviveEhHandleDamage]] [[BIS_fnc_reviveEhHandleHeal]] [[BIS_fnc_reviveEhKilled]] [[BIS_fnc_reviveEhRespawn]] [[BIS_fnc_reviveEnabled]] [[BIS_fnc_reviveGet3dIcons]] [[BIS_fnc_reviveGetActionIcon]] [[BIS_fnc_reviveIconControl]] [[BIS_fnc_reviveInit]] [[BIS_fnc_reviveIsValid]] [[BIS_fnc_reviveIsValidSecure]] [[BIS_fnc_reviveOnForcingRespawn]] [[BIS_fnc_reviveOnState]] [[BIS_fnc_reviveOnStateJIP]] [[BIS_fnc_reviveSecureUnit]]
|seealso= [[Arma 3: Revive]] [[BIS_fnc_reenableRevive]] [[BIS_fnc_reviveAllowed]] [[BIS_fnc_reviveBleedOut]] [[BIS_fnc_reviveDamageReset]] [[BIS_fnc_reviveDebug]] [[BIS_fnc_reviveEhDammaged]] [[BIS_fnc_reviveEhHandleDamage]] [[BIS_fnc_reviveEhHandleHeal]] [[BIS_fnc_reviveEhKilled]] [[BIS_fnc_reviveEhRespawn]] [[BIS_fnc_reviveEnabled]] [[BIS_fnc_reviveGet3dIcons]] [[BIS_fnc_reviveGetActionIcon]] [[BIS_fnc_reviveIconControl]] [[BIS_fnc_reviveInit]] [[BIS_fnc_reviveIsValid]] [[BIS_fnc_reviveIsValidSecure]] [[BIS_fnc_reviveOnForcingRespawn]] [[BIS_fnc_reviveOnState]] [[BIS_fnc_reviveOnStateJIP]] [[BIS_fnc_reviveSecureUnit]]
}}
}}
[[Category:{{Name|arma3}}: Functions|{{uc:reviveOnBeingRevived}}]]

Latest revision as of 15:52, 8 November 2023

Hover & click on the images for description

Description

Description:
Used to execute specific code locally on every client whenever "being revived" flag changes.
Execution:
call
Groups:
Revive

Syntax

Syntax:
[nil, flagState, unit] call BIS_fnc_reviveOnBeingRevived
Parameters:
nil: Nothing - This parameter has not been implemented
flagState: Boolean - (Optional, default false) flag state - true or false
unit: Object - unit to set the flag for
Return Value:
Boolean - returns true or Nothing if state didn't change

Examples

Example 1:
[nil, true, squadLeader] call BIS_fnc_reviveOnBeingRevived;

Additional Information

See also:
Arma 3: Revive BIS_fnc_reenableRevive BIS_fnc_reviveAllowed BIS_fnc_reviveBleedOut BIS_fnc_reviveDamageReset BIS_fnc_reviveDebug BIS_fnc_reviveEhDammaged BIS_fnc_reviveEhHandleDamage BIS_fnc_reviveEhHandleHeal BIS_fnc_reviveEhKilled BIS_fnc_reviveEhRespawn BIS_fnc_reviveEnabled BIS_fnc_reviveGet3dIcons BIS_fnc_reviveGetActionIcon BIS_fnc_reviveIconControl BIS_fnc_reviveInit BIS_fnc_reviveIsValid BIS_fnc_reviveIsValidSecure BIS_fnc_reviveOnForcingRespawn BIS_fnc_reviveOnState BIS_fnc_reviveOnStateJIP BIS_fnc_reviveSecureUnit

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note