Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Adventurist on Fri 14/12/2018 18:23:27

Title: How Can I repeat my npc walking
Post by: Adventurist on Fri 14/12/2018 18:23:27
Hello I want to repeat the npc  constantly but I dont now .How can I?
Code (ags) Select

function room_Load() { cnpc.Walk(95, 54, eNoBlock, eAnywhere); cnpc.AddWaypoint(225, 54); }




Title: Re: How Can I repeat my npc walking
Post by: Crimson Wizard on Fri 14/12/2018 18:48:05
Search the forum for "patrol" or "guard patrol" topics, there were number of them in the past, for example:
http://www.adventuregamestudio.co.uk/forums/index.php?topic=40122.0
Title: Re: How Can I repeat my npc walking
Post by: Adventurist on Fri 14/12/2018 19:06:47
Thank You very much :)