BIS fnc reviveOnBeingRevived: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (infobox to template)
m (filled page)
Line 1: Line 1:
{{Function|= Comments
{{Function


| arma3 |Game name=
|game1= arma3


|1.42|Game version=
|version1= 1.42


<!---|arg= local |Multiplayer Arguments=--->
<!--|exec= server|=-->


<!---|eff= local |Multiplayer Effects=--->
<!--|arg= local-->


| <pre>/*
<!--|eff= local-->
Author: Jiri Wainar


Description:
|descr= Used to execute specific code localy on every client whenever 'being revived' flag changes.
Used to execute specific code localy on every client whenever 'being revived' flag changes.


Parameters:
|s1= [nil, flagState, unit] call [[BIS_fnc_reviveOnBeingRevived]]
_this select 0: STRING - Variable that carries the 'being revived' flag over the network, defined by macro VAR_TRANSFER_BEING_REVIVED.
_this select 1: BOOL - Flag state - true or false.
_this select 2: OBJECT - Unit to set the flag for.


Returns:
|p1= nil: [[Nothing]] - This param was not impemented!
True if successful, false if not.
*/</pre>{{placeholder}}<!-- Remove this after fill-in --> |Description=


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


|p1= parameter: Datatype - (Optional, default defValue) description |Parameter 1=
|p3= unit: [[Object]] - Unit to set the flag for


|Datatype - description|Return value=


|x1= <code></code>|Example 1=
|r1= [[Boolean]] - Returns [[true]] or [[Nothing]] if state didn't change


|exec= call |Execution=
|x1= <code><noWiki>[</noWiki>[[nil]],[[true]],player_1] [[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]]


| |See also=
}}
}}



Revision as of 16:49, 17 January 2020

Hover & click on the images for description

Description

Description:
Used to execute specific code localy 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 param was not impemented!
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,player_1] 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