echo icon indicating copy to clipboard operation
echo copied to clipboard

Am I Using Macros.add_data correctly?

Open GeezerLMAO opened this issue 1 year ago • 1 comments

So I want to add a isOnFloor data to the body using your example

--macro echo.Macros.add_data("isOnFloor", "Bool")

But when I try to access it just spits an error

image

This is the hxml if it will help

-cp src

-lib heaps
-lib hlsdl
-lib deepnightLibs
-lib ldtk-haxe-api
-lib echo

-hl bin/Test.hl

-main Main
-D windowSize=1024x576

--macro echo.Macros.add_data("entity", "objects.Entity")
--macro echo.Macros.add_data("isOnFloor", "Bool")

GeezerLMAO avatar Aug 21 '22 02:08 GeezerLMAO