BIS fnc reviveOnBeingRevived: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|version1= 1.42" to "|version1= 1.42 |gr1 = Revive |GROUP1=")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *U([a-z ])" to "$1 - u$2")
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function
{{RV|type=function


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


|gr1 = Revive |GROUP1=
|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 14: 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
 
|r1= [[Boolean]] - Returns [[true]] or [[Nothing]] if state didn't change


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


|x1= <code>[<nowiki/>[[nil]], [[true]], squadLeader] [[call]] [[BIS_fnc_reviveOnBeingRevived]];</code>
|r1= [[Boolean]] - returns [[true]] or [[Nothing]] if state didn't change


|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:Functions|{{uc:reviveOnBeingRevived}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:reviveOnBeingRevived}}]]

Latest revision as of 16: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