surfaceType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (VBS2 scripting category removal)
(mass edit: removing obsolete </dt> and </dd> tags)
Line 25: Line 25:
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->


<dd class="notedate">Posted on February 05, 2010 - 01:06</dd>
<dd class="notedate">Posted on February 05, 2010 - 01:06
<dt class="note">'''[[User:MaestrO.fr|MaestrO.fr]]'''</dt><dd class="note">In ArmA 2 returned value is "#UTGRASS" for natural surface and "#UTCONCRETE" for urban surface. </dd>
<dt class="note">'''[[User:MaestrO.fr|MaestrO.fr]]'''<dd class="note">In ArmA 2 returned value is "#UTGRASS" for natural surface and "#UTCONCRETE" for urban surface.  
<dd class="notedate">Posted on December 16, 2006 - 23:45</dd>
<dd class="notedate">Posted on December 16, 2006 - 23:45
<dt class="note">'''[[User:Kronzky|Kronzky]]'''</dt><dd class="note">Only seems to return either "#GRASSSOUTH" or "#GRASSGENERAL", even when you're in a building or in water.</dd>
<dt class="note">'''[[User:Kronzky|Kronzky]]'''<dd class="note">Only seems to return either "#GRASSSOUTH" or "#GRASSGENERAL", even when you're in a building or in water.
<dd class="notedate">Posted on December 30, 2006 - 16:12</dd>
<dd class="notedate">Posted on December 30, 2006 - 16:12
<dt class="note">'''[[User:VictorF|VictorF]]'''</dt><dd class="note">Another returned value is "#SANDGENERAL". However, when providing an exact [x,y] position the "surfaceType" function seems to return the general surface type of the environment rather than the exact type on that given position.</dd>
<dt class="note">'''[[User:VictorF|VictorF]]'''<dd class="note">Another returned value is "#SANDGENERAL". However, when providing an exact [x,y] position the "surfaceType" function seems to return the general surface type of the environment rather than the exact type on that given position.


<!-- Note Section END -->
<!-- Note Section END -->

Revision as of 02:56, 18 October 2011

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Returns what surface is at the given position.
Groups:
Uncategorised

Syntax

Syntax:
String = surfaceType [x, y]
Parameters:
[x, y]: Array - format Position2D
Return Value:
String

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

Notes

Posted on February 05, 2010 - 01:06
MaestrO.fr
In ArmA 2 returned value is "#UTGRASS" for natural surface and "#UTCONCRETE" for urban surface.
Posted on December 16, 2006 - 23:45
Kronzky
Only seems to return either "#GRASSSOUTH" or "#GRASSGENERAL", even when you're in a building or in water.
Posted on December 30, 2006 - 16:12
VictorF
Another returned value is "#SANDGENERAL". However, when providing an exact [x,y] position the "surfaceType" function seems to return the general surface type of the environment rather than the exact type on that given position.

Bottom Section