BIS fnc boatRack01AdjustZOffset: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[cC]ategory:[fF]unctions\|\{\{uc:[a-z 0-9 A-Z_]*\}\}\]\]" to "")
m (Text replacement - "bis_fnc_" to "BIS_fnc_")
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=function
{{RV|type=function


| arma3
|game1= arma3
|version1= 1.84


|1.84
|gr1= Boat Recovery


|gr1 = Boat Recovery
|descr= <pre>/*
 
<!---|arg= local |Multiplayer Arguments=--->
 
<!---|eff= local |Multiplayer Effects=--->
 
| <pre>/*
Author: Bravo Zero One development
Author: Bravo Zero One development
- John_Spartan
- John_Spartan
Line 22: Line 17:


Example:
Example:
[_boatRack, _boat] call bis_fnc_boatRack01AdjustZOffset;
[_boatRack, _boat] call BIS_fnc_boatRack01AdjustZOffset;


Required:
Required:
Line 43: Line 38:
Result: Adjusts the hight (Z offset) of boat rack suspension to prevent different boats clipping with visual mesh.
Result: Adjusts the hight (Z offset) of boat rack suspension to prevent different boats clipping with visual mesh.


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


|[] call [[BIS_fnc_boatRack01AdjustZOffset]]
|s1= [] call [[BIS_fnc_boatRack01AdjustZOffset]]


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


|Datatype - description
|r1=


|x1=
|x1=


|exec= call
|seealso=
}}
}}
[[Category:{{Name|arma3}}: Functions|{{uc:BoatRack01AdjustZOffset}}]]

Latest revision as of 18:24, 20 June 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 Init EH script that is added to object (boat rack) or from action code.

	Example:
		[_boatRack, _boat] call BIS_fnc_boatRack01AdjustZOffset;

	Required:
		Object (boat rack) must have vehicle in vehicle behavior configured (https://community.bistudio.com/wiki/Arma_3_Vehicle_in_Vehicle_Transport).
		Object (boat rack) must have triggers set up with continuous actions.
		Object (boat rack) must have set of Z offset's predefined in cfgVehicles for know/supported boat types.

		Parameters used from cfgVehicles configuration:
		cargoBayAnimationSelection 		= "CargoBay_Move_Z";
		supportedVehicleOffsetsZ[]		= {{"C_Boat_Civil_01_F",0.55}};

	Parameter(s):
		_this select 0: mode (Scalar)
		0: boat rack object
		1: boat in cargo
		and
		other parameters from boat rack's cfgVehicles configuration.

	Returns: nothing
	Result: Adjusts the hight (Z offset) of boat rack suspension to prevent different boats clipping with visual mesh.

*/
🏗
Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki.
Execution:
call
Groups:
Boat Recovery

Syntax

Syntax:
[] call BIS_fnc_boatRack01AdjustZOffset
Return Value:
Return value needed

Examples

Examples:
Example needed

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