BIS fnc reviveOnBeingRevived: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (filled page)
m (Fix typos)
Line 5: Line 5:
|version1= 1.42
|version1= 1.42


<!--|exec= server|=-->


<!--|arg= local-->
|descr= Used to execute specific code locally on every client whenever "being revived" flag changes.
 
<!--|eff= local-->
 
|descr= Used to execute specific code localy on every client whenever 'being revived' flag changes.


|s1= [nil, flagState, unit] call [[BIS_fnc_reviveOnBeingRevived]]
|s1= [nil, flagState, unit] call [[BIS_fnc_reviveOnBeingRevived]]


|p1= nil: [[Nothing]] - This param was not impemented!
|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]]
Line 21: Line 16:
|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>[</noWiki>[[nil]],[[true]],player_1] [[call]] [[BIS_fnc_reviveOnBeingRevived]];</code>
|x1= <code>[<nowiki/>[[nil]], [[true]], squadLeader] [[call]] [[BIS_fnc_reviveOnBeingRevived]];</code>


|exec= call


|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]]
}}
}}



Revision as of 23:04, 17 January 2020

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:
Uncategorised

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