Null-Z
Member
I'm trying to make an object with empty variables in the create event that I can fill in the creation code event. After managing to get it running and not immediately giving an error, I found the object in question was not creating the desired object designated in the creation code.
currently I use GMS 1.4
Obj code
currently I use GMS 1.4
Obj code
GML:
Create = noone;
V = noone;
CreateTimer = V;
i = noone;
Code:
if Create = true
{
CreateTimer -=1
}
if CreateTimer <=0
{
instance_create(x,y,i)
CreateTimer = V ;
}
if Create = false
{
if place_meeting(x,y,i)
{
instance_destroy(i)
}
}
GML:
Create = true;
V = 60;
i = obj_BeeformOne;
Last edited: