BIS_fnc_boatRack01InitAdjustZOffsets

From Bohemia Interactive Community
Revision as of 19:24, 20 June 2021 by Lou Montana (talk | contribs) (Text replacement - "bis_fnc_" to "BIS_fnc_")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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).

	Example:
		[_boatRack] spawn BIS_fnc_boatRack01InitAdjustZOffsets;

	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
		and
		other parameters from boat rack's cfgVehicles configuration.

	Returns: nothing
	Result: On mission startup 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_boatRack01InitAdjustZOffsets
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