Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Adventurist on Wed 12/12/2018 17:45:29

Title: Animating the object while starting the room (Solved)
Post by: Adventurist on Wed 12/12/2018 17:45:29
I know how to start the animation but I dont know Start the room  Auto-animation without any button(Look,pick or Interact)
Code (ags) Select


function oTop_Interact() // I dont want Interact I want Start the room auto-Animation Object but I dont know


{
 
  oTop.SetView(2, 0, 0);
  oTop.Animate (0, 5, eRepeat, eNoBlock);
}



I find
Code (ags) Select


function room_Load()
{
oTop.SetView(2, 0, 0);
oTop.Animate(0, 5, eRepeat, eNoBlock);
}