SandMan13 10 Posted July 27, 2011 So on Utes there is a lighthouse that you can climb up and walk around the railing. I want to make an AI Sniper patrolling around the rail on top of the lighthouse. I can get him into the lighthouse but he just stops afterword. Anyway you can make him walk around the lighthouse top? Share this post Link to post Share on other sites
raserisk 12 Posted July 27, 2011 this setpos [(getpos this select 0), (getpos this select 1), .1]; Puts units in buildings. The last number is what you adjust. Make sure you put this in a unit's init field. Try it out! Share this post Link to post Share on other sites
SandMan13 10 Posted July 27, 2011 thank you very much. gonna try it out right now ---------- Post added at 05:10 PM ---------- Previous post was at 05:05 PM ---------- not working. he just stands at the top of the ladder of the lighthouse. Share this post Link to post Share on other sites
kylania 568 Posted July 27, 2011 That lighthouse doesn't have any building positions available, so getting someone to move up there would be impossible on it's own. You could try to make it move to a specific position up there, but making him patrol the whole cat walk would be quite difficult. Share this post Link to post Share on other sites
f2k sel 164 Posted July 27, 2011 To get it to walk around the outside just place a series of waypoints in a circle with the last being a cycle. Place them away from the tower so it won't climb back down. It's a little tricky to get them in a good position but it's doable. Share this post Link to post Share on other sites
Big Dawg KS 6 Posted July 27, 2011 If there are sufficient AI pathways & buildingPositions at the top of the lighthouse you can do it. In fact, I have a script for this. I also have an FSM version that I haven't released... Btw as this is an editing question, it belongs in the editing forum and not here. Share this post Link to post Share on other sites