Difference between revisions of "Talk:OBSE Wish List"
Jump to navigation
Jump to search
→GetCrosshairDistance: make it GetCrosshairPos is the thing you want
imported>Haama (GetCrosshairDistance request) |
imported>DragoonWraith (→GetCrosshairDistance: make it GetCrosshairPos is the thing you want) |
||
Line 4: | Line 4: | ||
===GetCrosshairDistance=== | ===GetCrosshairDistance=== | ||
How far away is the item or surface under the crosshair? | |||
:This can already be done with [[GetDistance]] using the reference returned by [[GetCrosshairRef]] and player. | |||
::response: Not if the crosshair is over terrain or water. | |||
:::GetCrosshairRef returns the reference that would be activated if the player pressed activate. Terrain and water would require a completely different function. Also, it's unclear what could be done with this specific information, and a different function/request might be better suited.--[[User:Haama|Haama]] 18:21, 26 February 2008 (EST) | |||
::::GetCrosshairPos, as in the XYZ coordinates of the intersection of the crosshair-ray with the first thing you see, would be ideal, and a wonderful addition to the scripting language. '''That's''' the one we want. | |||
:::: | |||
==Dejaside's Binary Examples== | ==Dejaside's Binary Examples== |