Difference between revisions of "ObjectUnderReticle"

Jump to navigation Jump to search
No change in size ,  16:33, 27 April 2016
m
converted from set to let since the example was NVSE only, but forgot to convert the "to" as well... heh
imported>JT
(Created page with "{{Function |CSWikiPage = ObjectUnderReticle |origin = VEGAS1 |summary = Yields an object an arbitrary distance away from the crosshairs. |name = ObjectUnderReticle |argum...")
 
imported>JT
m (converted from set to let since the example was NVSE only, but forgot to convert the "to" as well... heh)
Line 22: Line 22:
  ref tgt
  ref tgt
   
   
  let target to ObjectUnderReticle 0 2048 ;Check for object within 30 m/96 ft
  let target := ObjectUnderReticle 0 2048 ;Check for object within 30 m/96 ft
  if ( GetType target == 42 || GetType target == 43 )
  if ( GetType target == 42 || GetType target == 43 )
  ;We have an actor under the crosshairs!
  ;We have an actor under the crosshairs!
Anonymous user

Navigation menu