S
ShadowLenz
Guest
I have a "obj_interact" with:
- Create event:
image_speed = 0;
depth = -y;
collision = true;
And having as "children" the ---> obj_npc
the npc has the: event_inherited (); on the create event
And the: protagonist_object
having (depth, collision variables on the step even so they are seated)
and when collides with obj_npc:
if keyboard_check_pressed (ord('E') and instance_place (x, y,obj_npc)<3)
{
instance_create (view_xview +395,view_yview +480,objdialog2);
instance_create (view_xview +660,view_yview +565,click_it);
instance_create (view_xview +125,view_yview +498,circle_obj);
instance_create (view_xview +105,view_yview +465,face_brennan);
instance_change (obj_stay,false); <---- this means de characater changes onto another protagonist_object to prevent a massive opening of text's box
}
BY FAR ALL GOOD.
The moment to sweat is when it collides, it opens the dialog well and others but when I close the text box, the character is still in front of the npc and it continues to open, I am locked next to him and I do not know how to prevent it from happening, the obj_npc has his mask modified but still happening.
Thanks in advance for who helps me.
- Create event:
image_speed = 0;
depth = -y;
collision = true;
And having as "children" the ---> obj_npc
the npc has the: event_inherited (); on the create event
And the: protagonist_object
having (depth, collision variables on the step even so they are seated)
and when collides with obj_npc:
if keyboard_check_pressed (ord('E') and instance_place (x, y,obj_npc)<3)
{
instance_create (view_xview +395,view_yview +480,objdialog2);
instance_create (view_xview +660,view_yview +565,click_it);
instance_create (view_xview +125,view_yview +498,circle_obj);
instance_create (view_xview +105,view_yview +465,face_brennan);
instance_change (obj_stay,false); <---- this means de characater changes onto another protagonist_object to prevent a massive opening of text's box
}
BY FAR ALL GOOD.
The moment to sweat is when it collides, it opens the dialog well and others but when I close the text box, the character is still in front of the npc and it continues to open, I am locked next to him and I do not know how to prevent it from happening, the obj_npc has his mask modified but still happening.
Thanks in advance for who helps me.