Class "EntityConfigEntity"⚓︎
Info
You can get this class by using the following functions:
Example Code
1 |
|
Functions⚓︎
CanBeChampion ()⚓︎
boolean CanBeChampion ( )⚓︎
CanBeRerolledInto ()⚓︎
boolean CanBeRerolledInto ( )⚓︎
CanShutDoors ()⚓︎
boolean CanShutDoors ( )⚓︎
GetAnm2Path ()⚓︎
string GetAnm2Path ( )⚓︎
GetBaseHP ()⚓︎
float GetBaseHP ( )⚓︎
GetBestiaryAnimation ()⚓︎
string GetBestiaryAnimation ( )⚓︎
GetBestiaryAnm2Path ()⚓︎
string GetBestiaryAnm2Path ( )⚓︎
GetBestiaryFloorAlt ()⚓︎
string GetBestiaryFloorAlt ( )⚓︎
GetBestiaryOffset ()⚓︎
const Vector GetBestiaryOffset ( )⚓︎
GetBestiaryOverlay ()⚓︎
string GetBestiaryOverlay ( )⚓︎
GetBestiaryScale ()⚓︎
float GetBestiaryScale ( )⚓︎
GetBossID ()⚓︎
BossType GetBossID ( )⚓︎
GetCollisionDamage ()⚓︎
float GetCollisionDamage ( )⚓︎
GetCollisionInterval ()⚓︎
int GetCollisionInterval ( )⚓︎
GetCollisionRadius ()⚓︎
float GetCollisionRadius ( )⚓︎
Also known as "Size".
GetCollisionRadiusMultiplier ()⚓︎
const Vector GetCollisionRadiusMultiplier ( )⚓︎
Also known as "SizeMulti".
GetCustomTags ()⚓︎
table GetCustomTags ( )⚓︎
Returns a table containing all the strings specified in the entity's customtags
attribute in entities2.xml. Tags are always provided in all lowercase. See entities2.xml for more information on customtags
.
GetEntityTags ()⚓︎
int GetEntityTags ( )⚓︎
Returns the bitmask of EntityTags for this entity.
GetFriction ()⚓︎
float GetFriction ( )⚓︎
GetGibFlags ()⚓︎
int GetGibFlags ( )⚓︎
Returns the bitmask of GibFlags for this entity.
GetGibsAmount ()⚓︎
int GetGibsAmount ( )⚓︎
GetGridCollisionPoints ()⚓︎
int GetGridCollisionPoints ( )⚓︎
GetMass ()⚓︎
float GetMass ( )⚓︎
GetModName ()⚓︎
string GetModName ( )⚓︎
Name string of the mod that entity is from.
Returns nil for vanilla entities.
GetName ()⚓︎
string GetName ( )⚓︎
GetPortraitID ()⚓︎
int GetPortraitID ( )⚓︎
GetShadowSize ()⚓︎
float GetShadowSize ( )⚓︎
Note that this value is the "shadowSize" specified in the XML divided by 100.
GetShieldStrength ()⚓︎
float GetShieldStrength ( )⚓︎
The amount of armor the entity has.
GetStageHP ()⚓︎
float GetStageHP ( )⚓︎
GetSubType ()⚓︎
int GetSubType ( )⚓︎
GetType ()⚓︎
int GetType ( )⚓︎
GetVariant ()⚓︎
int GetVariant ( )⚓︎
HasCustomTag ()⚓︎
boolean HasCustomTag ( string tag )⚓︎
Returns true if the entity has the provided string specified in its customtags
attribute in entities2.xml. Capitalization does not matter. See entities2.xml for more information on customtags
.
HasEntityTags ()⚓︎
boolean HasEntityTags ( int Tags )⚓︎
Returns true if the entity has all EntityTags specified in the provided bitset.
HasFloorAlts ()⚓︎
boolean HasFloorAlts ( )⚓︎
HasGibFlags ()⚓︎
boolean HasGibFlags ( int Flags )⚓︎
Returns true if the entity has all GibFlags specified in the provided bitset.