Game GetTargetInfo

Returns information about a specific entity
;Usage
Game.GetTargetInfo(entityId)
Parameter	Type 	Description
entityId 	entityId (number)	ID of the entity you want info about
;Return Values
Value 	Type 	Description
armed 	boolean	(character only) whether the target can attack
battleframe 	string 	(character only) class of battleframe
battleframelevel 	number 	(character only) tier of battleframe equippped
bounds 	table 	height,length,width
characterType 	string 	(character only) if character, it's the model/archetype
characterTypeId 	number 	(character only) not sure
damageable 	boolean	whether you the player can damage this thing
db_id 	number 	(character only) seems to be very close to the entityId
deployableCategory 	string 	(deployable only) type of deployable, PVP = "Forge"
deployableType 	string 	(deployable only) for deployables, the kind of deployable, IE PVP is "Versus Terminal"
deployableTypeId 	number 	(deployable only) not sure
faction 	string 	accord (allies), gaea (aranhas)
hostile 	boolean	whether target is an enemy
isNpc 	boolean	(character only) whether target is NPC (false if a player)
level 	number 	(deployable only) for only some deployables, not sure what this is
missionGiver 	boolean	(character only) whether the NPC is a quest giver
name 	string 	name
squad_challengeable	boolean	(character only) if target is challengeable for squad PVP
squad_leader 	boolean	(character only) whether target is leader of a squad (not sure if your squad or any squad)
squad_member 	boolean	(character only) whether target is in a squad (not sure if your squad or any squad)
title 	string 	title (goes above name)
turretType 	string 	(deployable only) turret type (IE: multi-turret)
turretTypeId 	number 	(deployable only) not sure
type 	string 	type of entity: either character (anything that moves) or deployable (anything that doesn't)
sourceAbilityId 	number 	ID of ability that brought this entity into existence
;Examples:
<nowiki>
Some basic code examples illustrating how to use the function (may be omitted if it's obvious for the function in question).
</nowiki>
Category:Addon_API