knightshaft
Member
I'm getting unknown instance and unknown variable for "other" and "t". If I understand correctly (and this might be my issue) "other" is the object that this is written in so how is it unknown. And "t" is used in "SBcreator[t] = 1" just above it. Even if I change "other" to the actual name of this object, "t" is still unknown. What am I doing wrong?
GML:
if (global.step_counter > 1) {
inst = instance_create_layer(800,VertAlign,"FrontRoom",Button_obj);
SBcreator[t] = 1;
with (inst)
{
location = other.t;
}
}