exactly what the title saids
- you go to a villager and prezz 'z'
- they face you and say something
- after they are done speaking, they face away and do whatever they were doing
i'm not asking for text box and stuff, since i already got that. I just want to know how to make them face you
- please help OuO
make villager face you ONLY when talking to you
Started by iphoneiv, Feb 20 2012 01:14 AM
1 reply to this topic
#1
Posted 20 February 2012 - 01:14 AM
#2
Posted 20 February 2012 - 01:20 AM
Define "face"
I.e. topdown/platformer/3d etc
Basically you'd do it this way:
(either in create, or if changed at times, step):
beforedialogue = sprite_index
when deciding to talk
if (talking)
{
sprite_index = (face the character) (choose appropriate facing index)
//messages/textboxes/etc
}
sprite_index = beforedialogue
More than that I can't say without knowing the game's setting.
Basically you'd do it this way:
(either in create, or if changed at times, step):
beforedialogue = sprite_index
when deciding to talk
if (talking)
{
sprite_index = (face the character) (choose appropriate facing index)
//messages/textboxes/etc
}
sprite_index = beforedialogue
More than that I can't say without knowing the game's setting.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











