BIS fnc objectsGrabber: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| arma2 \| *([0-9]\.[0-9]{2}) * " to " | arma2 |$1 |game2= arma2oa |version2= 1.50 |game3= tkoh |version3= 1.00 |game4= arma3 |version4= 0.50 ") |
Lou Montana (talk | contribs) m (Text replacement - "\|( *\[\[[a-zA-Z]+\]\]) * \|x1=" to "\|r1=$1 \|x1=") |
||
Line 46: | Line 46: | ||
|p3= objectOrientation: [[Boolean]] - (Optional, default [[false]]) capture object orientation or not. Format [[BIS_fnc_getPitchBank]] | |p3= objectOrientation: [[Boolean]] - (Optional, default [[false]]) capture object orientation or not. Format [[BIS_fnc_getPitchBank]] | ||
| [[String]] | \|r1= [[String]] | ||
|x1= <code><nowiki>[</nowiki>[[getPos]] [[player]], 20, [[true]]] [[call]] [[BIS_fnc_objectsGrabber]];</code> | \|x1= <code><nowiki>[</nowiki>[[getPos]] [[player]], 20, [[true]]] [[call]] [[BIS_fnc_objectsGrabber]];</code> | ||
|seealso= [[BIS_fnc_objectsMapper]], [[BIS_fnc_getPitchBank]], [[BIS_fnc_setPitchBank]] | |seealso= [[BIS_fnc_objectsMapper]], [[BIS_fnc_getPitchBank]], [[BIS_fnc_setPitchBank]] |
Revision as of 10:25, 10 June 2021
Description
- Description:
- Description needed
- Execution:
- call
- Groups:
- Object Manipulation
Syntax
- Syntax:
- Syntax needed
- Parameters:
- position: Position - (Optional, default [0,0]) 2D or 3D position, center of the "grabbing" area
- size: Number - (Optional, default 50) size (radius) of the "grabbing" area
- objectOrientation: Boolean - (Optional, default false) capture object orientation or not. Format BIS_fnc_getPitchBank \
- Return Value:
- String \
Examples
- Example 1:
[getPos player, 20, true] call BIS_fnc_objectsGrabber;
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