Skip to content

Global Class "ItemOverlay"⚓︎

Info

You can get this class by using the ItemOverlay global table.

Note that to call these functions, you must use a . (period) instead of a : (colon)!

Example Code
1
local overlaysprite = ItemOverlay.GetSprite()

Functions⚓︎

GetDelay ()⚓︎

int GetDelay ( )⚓︎


GetMegaMushPlayerSprite ()⚓︎

Sprite GetMegaMushPlayerSprite ( )⚓︎


GetOverlayID ()⚓︎

Giantbook GetOverlayID ( )⚓︎

Info

Returns the last Giantbook animation that played. This is the current Giantbook if one is currently playing. If none have played yet, returns 0.


GetPlayer ()⚓︎

EntityPlayer GetPlayer ( )⚓︎


GetSprite ()⚓︎

Sprite GetSprite ( )⚓︎


Show ()⚓︎

void Show ( Giantbook GiantbookID, int Delay = 3, EntityPlayer = nil )⚓︎