R
Rodimus
Guest
Hello!
I have an object, wich have a parent. At the create event i used the event_inerited() method, and inser the extra code. At the game, an object create instances of the previous object, and i try to set the direction - unseccesfulli.
What I done:
parent object:
Create Event:
...xy code..
child object:
Create Event:
event_Inherited();
xy code...
third object:
for (i = 0; i < ds_list_size(lista)i++)
{
obj = instance_create(x,y,ds_list_find_value(lista,0));
object.direction = 180; <<<<< THATS PART NOT WORKING. DOESN'T MATTER WHAT I DO
}
How can I set the direction?
Thanks for any help!
I have an object, wich have a parent. At the create event i used the event_inerited() method, and inser the extra code. At the game, an object create instances of the previous object, and i try to set the direction - unseccesfulli.
What I done:
parent object:
Create Event:
...xy code..
child object:
Create Event:
event_Inherited();
xy code...
third object:
for (i = 0; i < ds_list_size(lista)i++)
{
obj = instance_create(x,y,ds_list_find_value(lista,0));
object.direction = 180; <<<<< THATS PART NOT WORKING. DOESN'T MATTER WHAT I DO
}
How can I set the direction?
Thanks for any help!