BIS fnc boatRack01InitAdjustZOffsets: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Boat Recovery(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to " ") |
Lou Montana (talk | contribs) 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 | {{Function | ||
| arma3 | | arma3 | ||
|1.84 | |1.84 | ||
|gr1 = Boat Recovery | |gr1 = Boat Recovery | ||
<!---|arg= local |Multiplayer Arguments=---> | <!---|arg= local |Multiplayer Arguments=---> | ||
Line 42: | Line 42: | ||
Result: On mission startup adjusts the hight (Z offset) of boat rack suspension to prevent different boats clipping with visual mesh. | Result: On mission startup 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>{{placeholder}}<!-- Remove this after fill-in --> | ||
|[] call [[BIS_fnc_BoatRack01InitAdjustZOffsets]] | |[] call [[BIS_fnc_BoatRack01InitAdjustZOffsets]] | ||
|p1= parameter: Datatype - (Optional, default defValue) description | |p1= parameter: Datatype - (Optional, default defValue) description | ||
|Datatype - description | |Datatype - description | ||
|x1= <code></code> | |x1= <code></code> | ||
|exec= call |Execution= | |exec= call |Execution= | ||
| | | | ||
}} | }} | ||
Revision as of 22:06, 17 January 2021
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. */
Template:placeholder- Execution:
- call
- Groups:
- Boat Recovery
Syntax
- Syntax:
- [] call BIS_fnc_BoatRack01InitAdjustZOffsets
- 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