Added function to add custom Entity Icons
This commit is contained in:
1 parent
034b9e453d
commit
8678c6beab
2 files changed
+12
No files matched your search
@@ -125,6 +125,7 @@ local dummySprite2 = Sprite()
|
||||
dummySprite2:Load("gfx/eid_inline_icons.anm2", true)
|
||||
-- add animated icon using api function (Make sure to create new Sprite Obj when using animated icons. Reuse objects when only using static icons)
|
||||
EID:addIcon("TestIcon", "hearts", -1, 9, 9, -1, 0, dummySprite2)
|
||||
EID:AddIconToObject(5, 100, 1, "TestIcon")
|
||||
|
||||
|
||||
-- add icon directly
|
||||
|
||||
Reference in new issue
Block a user