BIS fnc objectHeight: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) (Some wiki formatting) |
(added offsets) |
||
Line 7: | Line 7: | ||
|gr1= Object Manipulation | |gr1= Object Manipulation | ||
|descr= Return object height defined by its bounding box and eventual offset fix. | |descr= Return object height defined by its bounding box and eventual offset fix. For the following classes an offset is used. | ||
{{{!}} class="wikitable" | |||
{{!}}- | |||
! z-offset: -0.1 !! z-offset: -0.08 | |||
{{!}}- | |||
{{!}} | |||
* "box_east_support_f" | |||
* "box_ind_support_f" | |||
* "box_nato_support_f" | |||
* "box_east_ammoord_f" | |||
* "box_ind_ammoord_f" | |||
* "box_nato_ammoord_f" | |||
* "box_east_ammo_f" | |||
* "box_ind_ammo_f" | |||
* "box_nato_ammo_f | |||
{{!}} | |||
* "box_east_wpslaunch_f" | |||
* "box_ind_wpslaunch_f" | |||
* "box_nato_wpslaunch_f" | |||
* "box_east_wpsspecial_f" | |||
* "box_ind_wpsspecial_f" | |||
* "box_nato_wpsspecial_f" | |||
* "box_ind_wps_f" | |||
* "box_east_wps_f" | |||
* "box_nato_wps_f" | |||
{{!}}} | |||
|s1= object call [[BIS_fnc_objectHeight]] | |s1= object call [[BIS_fnc_objectHeight]] |
Revision as of 16:21, 27 February 2021
Description
- Description:
- Return object height defined by its bounding box and eventual offset fix. For the following classes an offset is used.
z-offset: -0.1 z-offset: -0.08 - "box_east_support_f"
- "box_ind_support_f"
- "box_nato_support_f"
- "box_east_ammoord_f"
- "box_ind_ammoord_f"
- "box_nato_ammoord_f"
- "box_east_ammo_f"
- "box_ind_ammo_f"
- "box_nato_ammo_f
- "box_east_wpslaunch_f"
- "box_ind_wpslaunch_f"
- "box_nato_wpslaunch_f"
- "box_east_wpsspecial_f"
- "box_ind_wpsspecial_f"
- "box_nato_wpsspecial_f"
- "box_ind_wps_f"
- "box_east_wps_f"
- "box_nato_wps_f"
- Execution:
- call
- Groups:
- Object Manipulation
Syntax
- Syntax:
- object call BIS_fnc_objectHeight
- Parameters:
- object: Object - Evaluated object
- Return Value:
- Number - Height of the object
Examples
- Example 1:
player call BIS_fnc_objectHeight;
Additional Information
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