UOOutlands / Razor

Razor is a free tool designed to help with simple tasks while playing Ultima Online.
http://www.uor-razor.com
GNU General Public License v3.0
9 stars 6 forks source link

[FEATURE] `targetexists` expression for indicating target cursor reticle #29

Closed ncskrypt closed 3 years ago

ncskrypt commented 3 years ago

targetexists ['any'/'beneficial'/'harmful'/'neutral']

Examples of Cursor Types

Demonstration in Steam targetexists Demonstration Code

while not dead
  if targetexists 'any'
    sysmsg '[TRUE] Cursor Exists' 253
  else
    sysmsg '[FALSE] Doesnt Exist' 953
  endif

  if targetexists 'harmful'
    sysmsg '[TARG] is HARMFUL'    238
  elseif targetexists 'beneficial'
    sysmsg '[TARG] is BENEFICIAL' 293
  elseif targetexists 'neutral'
    sysmsg '[TARG] is NEUTRAL'    999
  endif
endwhile

Target Exists† (Steam Documentation) † Note: Steam also implements server system internal... but these have little use/relevance for players. image