API GetTargetInfo: Difference between revisions

From Vendetta Lua
Jump to navigationJump to search
split
 
No edit summary
 
Line 1: Line 1:
=== GetTargetInfo ===
{{Function
'''Definition:'''
| name        = GetTargetInfo
GetTargetInfo() -> string name float health dist int factionid string guild ship
| desc        = get info about target
<br>
| ret1_name    = name
'''Description:'''<br>
| ret1_type    = string
get info about target
| ret1_desc    =
<br>
| ret2_name    = health  
'''Returns:'''<br>
| ret2_type    = number
''name''<br>
| ret2_desc    = health in percent
''health'' health in percent<br>
| ret3_name    = dist
''dist'' distance in m<br>
| ret3_type    = number
''factionid'' faction of target<br>
| ret3_desc    = distance in meters
''guild'' guild tag of target<br>
| ret4_name    = factionid
''ship'' name of targets ship
| ret4_type    = number
<br>
| ret4_desc    = faction of target
| ret5_name    = guild
| ret5_type    = string
| ret5_desc    = guild tag of target
| ret6_name    = ship
| ret6_type    = string
| ret6_desc    = name of targets ship
| notes        =
}}

Latest revision as of 02:17, 20 October 2011

GetTargetInfo

Definition
GetTargetInfo() ->  string  name,  number  health,  number  dist,  number  factionid,  string  guild,  string  ship
Description
get info about target
Returns
Type Name Description
string name
number health health in percent
number dist distance in meters
number factionid faction of target
string guild guild tag of target
string ship name of targets ship