Home   Help Search Login Register  

Author Topic: Putting an AI in Gaurd Tower??  (Read 531 times)

0 Members and 1 Guest are viewing this topic.

Offline sharkyjoe

  • Members
  • *
  • Have you taken a BMP out at 500 meters??
Putting an AI in Gaurd Tower??
« on: 01 Mar 2003, 06:21:19 »
Sit. Rep.- I have down loaded tower addon by zawdar.  In the empty objects its called, deerstand-sed. Now how to put an East guard in tower. I've tried, ( this setpos....), but he just dances around the thing and does not go in. Any thoughts?? ???    
Remember the 7 Ps??--- Proper Previous Planning Prevents Pathetically Poor Performance

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Putting an AI in Gaurd Tower??
« Reply #1 on: 01 Mar 2003, 11:00:54 »
u probablt put him too close to a wall. Try to find the exact spot.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Putting an AI in Gaurd Tower??
« Reply #2 on: 01 Mar 2003, 12:03:02 »
I don't know this particular addon, but in general if you place a waypoint over a building you get a special option in the waypoint screen to choose the position in the building.    Might work.
Plenty of reviewed ArmA missions for you to play

Offline sharkyjoe

  • Members
  • *
  • Have you taken a BMP out at 500 meters??
Re:Putting an AI in Gaurd Tower??
« Reply #3 on: 03 Mar 2003, 03:56:43 »
Well I (We) solved it. I used a bit of SetPos given to me bySFG Here it is-  in init field of unit put      this setpos[getpos this select 0, getpos this select 1, (getpos this select 2) +4.0];    
Now the +4.0 is any desired height you want. ;D

Also thanks to R. Armstorng for that liitle tid bit, it help.  I was putting the guy right on top of the icon of the tower, which didn't work. So I backed him out a little( in the editor it looked like a couple of feet). ;)

Macguba thanks for that hint . It gave me an idea. 8)
One again THANKS GUYS :thumbsup:
Remember the 7 Ps??--- Proper Previous Planning Prevents Pathetically Poor Performance

Offline sharkyjoe

  • Members
  • *
  • Have you taken a BMP out at 500 meters??
Re:Putting an AI in Gaurd Tower??
« Reply #4 on: 07 Mar 2003, 01:31:35 »
I would like to make an amendment to the, setpos. I found out that if you put after the semicolon, name of unit and getunitpos "up".  He will stand up in tower. So the end looks like this
.......select 2) +4.0]; gaurd1 getunitpos "up";
Where the gaurd1 is the name of the soldier in the name field or any name you wish to call it. ;)
Remember the 7 Ps??--- Proper Previous Planning Prevents Pathetically Poor Performance