Seems like a sort of weird GM quirk territory.
But applying an instance via .setSelf(instance_id) and then trying to do this in catspeak, results in an unexpected error.
Catspeak v3.0.0: runtime error in a file at (line 12, column 25) -- variable 'self' is not indexable, got 'struct'
at gml_Script___catspeak_error (line 25) - show_error(msg, false);
Narrowing it down has lead to me finding out that despite .setSelf(instance_id) passing in self, it treats it as an instance moreso. And therefore fails the is_struct check.
The I've applied here allows all of this to work for instances.
Seems like a sort of weird GM quirk territory. But applying an instance via
.setSelf(instance_id)
and then trying to do this in catspeak, results in an unexpected error.Catspeak code:
Narrowing it down has lead to me finding out that despite
.setSelf(instance_id)
passing inself
, it treats it as an instance moreso. And therefore fails theis_struct
check. The I've applied here allows all of this to work for instances.