Blackhawk 0 Posted November 7, 2008 Erm, not sure if this is the right topic but I suppose Animations are scripting, anyway - my problem. Whenever I place a unit with a static animation next to a wall or a building, he moves away from the position as soon as I start the game, I have been told that have to do a loop thing but I don't know where to type that. Can anyone help me? Share this post Link to post Share on other sites
nikita320106 0 Posted November 8, 2008 i think DisableAI "Anim" in unit init Share this post Link to post Share on other sites
Blackhawk 0 Posted November 9, 2008 That doesn't work, it just makes the animation not work. Share this post Link to post Share on other sites
jakerod 254 Posted November 9, 2008 did you try "Dostop this" in the init line. Share this post Link to post Share on other sites
Blackhawk 0 Posted November 9, 2008 Yep, doesn't worl=k Share this post Link to post Share on other sites
MehMan 0 Posted November 9, 2008 there are a few variations of this, one is with a script that loops said man in the animation constantly. then there's the trigger version where oyu need a trigger with a condition true, repeatedly, and the code in the activation field. At least I think it should work that way. Share this post Link to post Share on other sites
jakerod 254 Posted November 9, 2008 My way of doing loops if I don't want to script is to make a gamelogic and give it two move waypoints 1 with a 1 second delay and then a cycle waypoint and make the move waypoint go into a trigger that says Gamelogic Present and repeatidly. If that helps you. Share this post Link to post Share on other sites
Blackhawk 0 Posted November 9, 2008 Is there a proper tutorial at OFPEC or something that will do it step by step, because I have been told about 5 ways to do it and I don't really know what i'm doing. Share this post Link to post Share on other sites