Frugo_PL 0 Posted October 17, 2002 How do you make a unit climb a ladder to a watch tower? Normally the unit just goes under it. Thx for helping. Share this post Link to post Share on other sites
DestroyerX 0 Posted October 18, 2002 I know your problem, I can't get it to work either. Share this post Link to post Share on other sites
Chronicles 0 Posted October 18, 2002 Same here, when i put that at the line On Activation of the waypoint leading to the watchtower </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">NAMEOFTHESOLDIER action ["LADDERUP"]<span id='postcolor'> Here what our AI friend did The guy stop when he arrive at the waypoint, put its weapon on its back, then begin to climb an invisible ladder , (he ignore the watchtower ladder) and stop after the first step. They look very stupid in that pose, you can shoot and kill them , but they stay on that strange pose . Perhaps there is something to do, but i dont know more Share this post Link to post Share on other sites
DestroyerX 0 Posted October 18, 2002 </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (Chronicles @ Oct. 18 2002,21:47)</td></tr><tr><td id="QUOTE">Same here, when i put that at the line On Activation of the waypoint leading to the watchtower </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">NAMEOFTHESOLDIER action ["LADDERUP"]<span id='postcolor'> The guy stop when he arrive at the waypoint, put its weapon on its back, then begin to climb an invisible ladder , (he ignore the watchtower ladder) and stop after the first step. They look very stupid in that pose, you can shoot and kill them , but they stay on that strange pose . Perhaps there is something to do, but i dont know more<span id='postcolor'> I tried that too yes, the guy just stops at the tower and doesn't do a thing. (not even put his gun on his back and begin climbing). Share this post Link to post Share on other sites
Chronicles 0 Posted October 18, 2002 Strange, did you put this on the On Activation line of the waypoint near the tower ? My guy always put his weaypon on his back and strat climbing an invisible ladder . Share this post Link to post Share on other sites
DestroyerX 0 Posted October 18, 2002 </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (Chronicles @ Oct. 18 2002,21:53)</td></tr><tr><td id="QUOTE">Strange, did you put this on the On Activation line of the waypoint near the tower ?<span id='postcolor'> Yay Maybe someone has a solution to make a unit climb a ladder. Share this post Link to post Share on other sites
Chronicles 0 Posted October 18, 2002 I just re-test it to check if i dont make a mistake No, this work like i said for me, i dont even need a watchtower near the guy , put the waypoint where you want the AI guy to climb , put the code in the On Activation line of the waypoint (remember to name the AI soldier ) , and he will begin to climb in middle of nowhere. That is true for 1.46 at least (my version) , i dont know about Resistance. That is strange, ingame if the AI guy have no waypoint, and is under my order, if i tell him to climb a watchtower ladder, he will do it perfectly. But by the editor i strictly dont know any way to do this for a AI (especially if i am not his leader) . I really hope someone will arrive at the rescue Share this post Link to post Share on other sites
Sui 0 Posted October 19, 2002 You need to include the object you want your guy to climb. This is easy if you have Resistance, as every tower will have an object ID. So you would put: unit action ["Ladderup",(object 12233)] Where (object 12233) is the number of your watchtower. If you don't have resistance, you have to use the nearestobject (or nearestbuilding) command to specify your watchtower. It would look something like this: unit action ["Ladderup",(nearestobject [player,"ViewTower"])] But it depends on the specific type of watchtower ("ViewTower","ViewTower2" etc) Share this post Link to post Share on other sites
Shark111 0 Posted October 19, 2002 Yeah, it would be useful a full list of object names with a description of what they actually are. Is there any? Bye Share this post Link to post Share on other sites
kkkonge 0 Posted November 12, 2002 Hm-hm... If you place your waypoint directly over the tower, the 'Insert waypoint'-dialog will contain a 'position in house' drop-down menu. You then simply select #1, #2 etc. I dont know wether this is 1.46+ only, but that upgrade is free, so... Share this post Link to post Share on other sites
Blich 0 Posted December 5, 2002 "If you don't have resistance, you have to use the nearestobject (or nearestbuilding) command to specify your watchtower. It would look something like this: unit action ["Ladderup",(nearestobject [player,"ViewTower"])] But it depends on the specific type of watchtower ("ViewTower","ViewTower2" etc) " Can someone please tell me where to put this code... do I make a soldier (call him player) and make a MOVE WP... then put this code in the a MOVE WP... ON ACTIVATION field? PLEASE help.. thx Share this post Link to post Share on other sites
Blich 0 Posted December 5, 2002 </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (Blich @ Dec. 05 2002,19:08)</td></tr><tr><td id="QUOTE">"If you don't have resistance, you have to use the nearestobject (or nearestbuilding) command to specify your watchtower. It would look something like this: unit action ["Ladderup",(nearestobject [player,"ViewTower"])] But it depends on the specific type of watchtower ("ViewTower","ViewTower2" etc) " Can someone please tell me where to put this code... do I make a soldier  (call him player) and make a MOVE WP... then put this code in the a MOVE WP... ON ACTIVATION field? PLEASE help.. thx<span id='postcolor'> Don't worry about my last post, I got the soldier to get up the ladder into the tower, but I have another question. Once the guy climbs up the ladder, he just stops at the top and pulls out his gun; standing on the top of the ladder. Is there a way to move him once he gets to the top of the ladder? I would like him to stand in the middle of the tower. Thanks Share this post Link to post Share on other sites
Ruskiesrule 0 Posted December 6, 2002 what you were trying at first was just telling the AI to preform the climb ladder animation! This is so cool, after a year of being on this forum i'm finaly some use to other people! Share this post Link to post Share on other sites