Slyddar
Member
Hey guys,
variable_instance_get(instance_id, name) takes an id and a string, and returns the id's variable value. When trying to use it with any alarms, e.g. "alarm[0]", it returns undefined, even though the alarm is set and active.
Anyone know how to use it like that? Could possibly be a bug, and I know the help file mentions the function is primarily used in compatibility scripts, but still it's a GMS2 function, and it should still perform as expected.
variable_instance_get(instance_id, name) takes an id and a string, and returns the id's variable value. When trying to use it with any alarms, e.g. "alarm[0]", it returns undefined, even though the alarm is set and active.
Anyone know how to use it like that? Could possibly be a bug, and I know the help file mentions the function is primarily used in compatibility scripts, but still it's a GMS2 function, and it should still perform as expected.