AI -> Key down -> whatever button you want -> script editor ->
if(distance(Player.x, Player.y, AI.x, AI.y) <= some distance)
{
//put your talking code here
}
hunter84 wrote:i did that and it said
error line 1: Undeclared identifier some
hunter84 wrote:o well how far away should he be
AI -> Key down -> whatever button you want -> script editor ->
if(distance(Player.x, Player.y, AI.x, AI.y) <= 10)
{
//put your talking code here
}
hunter84 wrote:okay thanks and i saw that you are making animations?
hunter84 wrote:okay and should repeat be on?
Users browsing this forum: No registered users and 1 guest