I'm not quite understanding this
So basically I am trying to access one of my instances, take the name of it, obj_i_crown, and cut it down to i_crown and make it a variable. I just need to access obj_hud.i_crown, and increase the count by 1. Instead, I believe I am literally accessing obj_hud.new_str, which isn't a variable obviously. How can I do this?
GML:
//My string, argument0, is = obj_i_crown
str = argument0
new_str = string_delete(str,1,4)
obj_hud.new_str += 1