Jump to content
Sign in to follow this  
chris330

Ai Climbing Ladders

Recommended Posts

Can anyone tell me how this is done. I have searched but could noly find a topic about AI climbing down ladders with no coding samples except for one which went,

unit action ["ladderup",object,laddernumber,0]

I have tried the command to no avail. Can someone help me please. I'd like to make the ai climb a ladder for a mission I'm making and this is really annoying!!!

Share this post


Link to post
Share on other sites

I think it's...

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

unitname action ["ladderup",nameoftheladder]

in a waypoint(!)...

...or when the ladder's already on the map use the object id

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

unitname action ["ladderup",object 12345]

Share this post


Link to post
Share on other sites

Nice one brother biggrin_o.gif  How do i get the ladder's name for the first example?  smile_o.gif

Share this post


Link to post
Share on other sites
Nice one brother biggrin_o.gif  How do i get the ladder's name for the first example?  smile_o.gif

if you place a ladder on the map via Mission editor then ya place the name in the proper field biggrin_o.gif

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×