BIS fnc posToGrid: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
(highlighted note about mapGridPosition)
Line 8: Line 8:
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
|Converts array position to map grid position.
File: PosToGrid.sqf
{{Feature arma3|The function is obsolete, it is now replaced by engine command [[mapGridPosition]]}}
 
|= Description
Description:
Converts array position to map grid position.
The function is obsolete, is now replaced by engine command mapGridPosition
 
Parameter(s):
_this: Object, Array in format position or String with marker name
 
Returns:
Array in format ["X","Y"]
*/
 
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_PosToGrid]]; --> |= Syntax
| <!-- [] call [[BIS_fnc_PosToGrid]]; --> |= Syntax


|p1= |= Parameter 1
|p1= [[Object]], [[Array]] in format [[position]] or [[String]] with marker name |= Parameter 1


| |= Return value
|[[Array]] in format ["X","Y"] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 20:35, 28 March 2016


Hover & click on the images for description

Description

Description:
Converts array position to map grid position.
Arma 3
The function is obsolete, it is now replaced by engine command mapGridPosition
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
Syntax needed
Parameters:
Object, Array in format position or String with marker name
Return Value:
Array in format ["X","Y"]

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

Notes

Bottom Section