Jump to content
Sign in to follow this  
SpetsnazWarriorX

How to get ai to be in watch tower, etc.

Recommended Posts

I've only recently started thinking about making a large-scale mission of my own, but I'm only in the stage of setting up units and scenery. One thing I need to do is have an AI soldier stand up in a watch tower, at ease. Lol, whenever I try to insert the unit on top of the tower on the Mission Editor map, the dumb bastard just stands underneath the tower! How do I do this?

The same goes for a soldier I want in a particular room in a house. How do I get him to stand in the room, at ease? And while on the subject of at ease, how do I get a group of specifically inserted AI units to walk in slow column formation, at ease?

Share this post


Link to post
Share on other sites

Just zoom in really far on the map and place the unit over the Tower (It will be called as 'House' ). Try it a few times, it should work.

If you didn't already knew, if you want a soldier to be in safe-mode then put</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">this setbehaviour "SAFE";<span id='postcolor'> in the init field of the unit. smile.gif

Share this post


Link to post
Share on other sites

Well, I ended up using 'getpos this select 0' blah blah, all that. He's up there now, but why does he face the other way to which his azimuth is set? I want him to face vector 100, but he always turns round and faces the opposite direction! This guy is meant to see the attack my squad and I are going to make on the town, yet he insists on being blind to the approach! biggrin.gif

Another thing; how do you make a small squad patrol a certain area? Like, at ease [thanks for that tip!] and walking slowly in a circle around the town?

Share this post


Link to post
Share on other sites

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote </td></tr><tr><td id="QUOTE"> Another thing; how do you make a small squad patrol a certain area? Like, at ease [thanks for that tip!] and walking slowly in a circle around the town?<span id='postcolor'>

Hi. Just create several "move" waypoints around your town, in the first one; under speed put "limited" (walking slowly), under behaviour put "Safe"(rifles slung), under combat; "openfire,engage at will". In the last waypoint (close to the first waypoint) put "cycle"(instead of move)...

hope this helps you.... smile.gif

Share this post


Link to post
Share on other sites

Hi,

to your first problem, perhaps u have a nude female ai in town wink.gif

to your 2nd problem:

assign some soldiers for ur patrol, enter into each on activation: Name setunitpos "CombatToStand";

enter some waypoints for the patrol leader - and put the last waypoint next to the first one and enter at select type: cylce

then the patrol will walk to all waypoints and starts again at the first one.

greetz

thomas

Share this post


Link to post
Share on other sites

also to get ai in a house you can high light the unit hit the waypoint tab then hold mouse over a house where it will say house then double click and in the waypoit box you will see new window with diff pos in house pos 1 ,pos 2 ,etc it only works for some buildings though but pretty cool biggrin.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  

×