C
chaotic
Guest
I'm a little bit confused on how to pull data when using the *Animation Event*
If anyone can explain or show an example on how to use this ?
I'm using Game maker EA 1.9 and animation is creating in spine 3.4.02.
In spine you can set Events to trigger during animation like footsteps. And there is options to add properties to the event which is integer, float and string value. But i'm not sure how to pull that data out.
Already tried this test in the "Animation Event"
var _string = ds_map_find_value(event_data, "string");
show_debug_message(_string);
and by default the spine "string" value is empty "".
But even tho i change it to someting like foot_hit_ground. It returns empty?
btw the event does trigger but i'm just not sure how to pull the data =/
If anyone can explain or show an example on how to use this ?
I'm using Game maker EA 1.9 and animation is creating in spine 3.4.02.
In spine you can set Events to trigger during animation like footsteps. And there is options to add properties to the event which is integer, float and string value. But i'm not sure how to pull that data out.
Already tried this test in the "Animation Event"
var _string = ds_map_find_value(event_data, "string");
show_debug_message(_string);
and by default the spine "string" value is empty "".
But even tho i change it to someting like foot_hit_ground. It returns empty?
btw the event does trigger but i'm just not sure how to pull the data =/