GML Creating Object Based on String

Meowanator

Member
I am trying to make it so the game makes objects based on the string. I want to have the object load like:
obj_(string) where I have obj_00, obj_01, etc.

I am using Game Maker Studio 1.4
 
J

JFitch

Guest
Use an array.
Code:
obj[0]=obj_00;
obj[1]=obj_01;
obj[2]=obj_02;
...
 
Top