BIS fnc boatRack01CanExetuteAction: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Boat Recovery(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to " ")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...)
Line 1: Line 1:
{{Function|Comments=
{{Function


| arma3 |Game name=
| arma3


|1.84|Game version=
|1.84


|gr1 = Boat Recovery |GROUP1=
|gr1 = Boat Recovery


<!---|arg= local |Multiplayer Arguments=--->
<!---|arg= local |Multiplayer Arguments=--->
Line 36: Line 36:
Result: Check to show "Hold Action" to player.
Result: Check to show "Hold Action" to player.


*/</pre>{{placeholder}}<!-- Remove this after fill-in --> |Description=
*/</pre>{{placeholder}}<!-- Remove this after fill-in -->


|[] call [[BIS_fnc_BoatRack01CanExetuteAction]]|Syntax=
|[] call [[BIS_fnc_BoatRack01CanExetuteAction]]


|p1= parameter: Datatype - (Optional, default defValue) description |Parameter 1=
|p1= parameter: Datatype - (Optional, default defValue) description


|Datatype - description|Return value=
|Datatype - description


|x1= <code></code>|Example 1=
|x1= <code></code>


|exec= call |Execution=
|exec= call |Execution=


| |See also=
|
}}
}}



Revision as of 22:06, 17 January 2021

Hover & click on the images for description

Description

Description:
/*
	Author: Bravo Zero One development
	- John_Spartan

	Description:
	- This is sub function for 'boat recovery' functionality.

	Execution:
	- Call from script that invokes the "Hold Action" for boat recovery.

	Example:
		[_target,_boatRack] call bis_fnc_boatRack01CanExetuteAction;

	Required:
		Object (boat)
		Object (boat rack) must have vehicle in vehicle behavior configured (https://community.bistudio.com/wiki/Arma_3_Vehicle_in_Vehicle_Transport).

	Parameter(s):
		_this select 0: mode (Scalar)
		0: Object (boat)
		1: Object (boat rack)

	Returns: true if all conditions are met to display the "Hold Action"
	Result: Check to show "Hold Action" to player.

*/
Template:placeholder
Execution:
call
Groups:
Boat Recovery

Syntax

Syntax:
[] call BIS_fnc_BoatRack01CanExetuteAction
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