Class "GridEntity"⚓︎
Modified Functions⚓︎
ToTNT ()⚓︎
GridEntityTNT ToTNT ( )⚓︎
Altered function to improve GridEntity Update callback behavior.
Functions⚓︎
GetRenderPosition ()⚓︎
Vector GetRenderPosition ( )⚓︎
HurtDamage ()⚓︎
void HurtDamage ( Entity Entity, int PlayerDamage, int DamageFlags, float Damage, boolean ignoreGridCollision )⚓︎
Bug
The value passed to the float Damage parameter (the intended damage amount to non-player entities) is currently ignored - will be fixed in a future update.
IsBreakableRock ()⚓︎
void IsBreakableRock ( )⚓︎
ToDecoration ()⚓︎
GridEntityDecoration ToDecoration ( )⚓︎
Used to cast a GridEntity object to a GridEntityDecoration object.
Return behavior
If the conversion is not successful, this function returns nil
.
ToFire ()⚓︎
GridEntityFire ToFire ( )⚓︎
Used to cast a GridEntity object to a GridEntityFire object.
Return behavior
If the conversion is not successful, this function returns nil
.
ToGravity ()⚓︎
GridEntityGravity ToGravity ( )⚓︎
Used to cast a GridEntity object to a GridEntityGravity object.
Return behavior
If the conversion is not successful, this function returns nil
.
ToLock ()⚓︎
GridLock ToLock ( )⚓︎
Used to cast a GridEntity object to a GridLock object.
Return behavior
If the conversion is not successful, this function returns nil
.
ToStairs ()⚓︎
GridEntityStairs ToStairs ( )⚓︎
Used to cast a GridEntity object to a GridEntityStairs object.
Return behavior
If the conversion is not successful, this function returns nil
.
ToStatue ()⚓︎
GridEntityStatue ToStatue ( )⚓︎
Used to cast a GridEntity object to a GridEntityStatue object.
Return behavior
If the conversion is not successful, this function returns nil
.
ToTeleporter ()⚓︎
GridTeleporter ToTeleporter ( )⚓︎
Used to cast a GridEntity object to a GridTeleporter object.
Return behavior
If the conversion is not successful, this function returns nil
.
ToTrapDoor ()⚓︎
GridEntityTrapDoor ToTrapDoor ( )⚓︎
Used to cast a GridEntity object to a GridEntityTrapDoor object.
Return behavior
If the conversion is not successful, this function returns nil
.
ToWall ()⚓︎
GridEntityWall ToWall ( )⚓︎
Used to cast a GridEntity object to a GridEntityWall object.
Return behavior
If the conversion is not successful, this function returns nil
.
ToWeb ()⚓︎
GridEntityWeb ToWeb ( )⚓︎
Used to cast a GridEntity object to a GridEntityWeb object.
Return behavior
If the conversion is not successful, this function returns nil
.