BIS fnc reviveAllowed: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Function|= Comments | arma3 |Game name= |1.42|Game version= <!---|arg= local |Multiplayer Arguments=---> <!---|eff= local |Multiplayer Effects=---> | <pre>/* Author: J...")
 
m (infobox to template)
Line 26: Line 26:
Example:
Example:
_reviveAllowed = [_unit,_target] call bis_fnc_reviveAllowed;
_reviveAllowed = [_unit,_target] call bis_fnc_reviveAllowed;
*/</pre>{{Informative|Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]]}} |Description=
*/</pre>{{placeholder}}<!-- Remove this after fill-in --> |Description=


|[] call [[BIS_fnc_reviveAllowed]]|Syntax=
|[] call [[BIS_fnc_reviveAllowed]]|Syntax=

Revision as of 15:27, 2 April 2019

Hover & click on the images for description

Description

Description:
/*
	Author: Jiri Wainar

	Description:
	Returns true if unit is in general able to revive someone.

	Parameters:
	0: OBJECT - unit performing revive
	1: OBJECT - unit that will be revived

	Returns:
	SCALAR (check defines.inc for exact values)
	> 0: unit is able to perform revive action
	< 0: unit is NOT able to perform revive action

	Example:
	_reviveAllowed = [_unit,_target] call bis_fnc_reviveAllowed;
*/
Template:placeholder
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
[] call BIS_fnc_reviveAllowed
Parameters:
parameter: Datatype - (Optional, default defValue) description
Return Value:
Datatype - description

Examples

Example 1:

Additional Information

See also:
See also needed

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