Animating the object while starting the room (Solved)

Started by Adventurist, Wed 12/12/2018 17:45:29

Previous topic - Next topic

Adventurist

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


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


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

SMF spam blocked by CleanTalk