Home   Help Search Login Register  

Author Topic: guard towers: how to set guys in em  (Read 1519 times)

0 Members and 1 Guest are viewing this topic.

TAPNKEGS

  • Guest
guard towers: how to set guys in em
« on: 24 Aug 2002, 22:40:30 »
 Once again this is a simple problem i think, something i am overlooking.
  How do you set units so they begin in guard towers?

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:guard towers: how to set guys in em
« Reply #1 on: 24 Aug 2002, 22:43:23 »
select units and double click right on top of the tower.
select a soldier and hit ok.

that's it. if you want to make sure that the soldier actually stays there you put this into his init field:

this setunitpos "up"; this disableai "move"
Not all is lost.

Offline Wolfrug

  • Addons Depot
  • Former Staff
  • ****
  • Official OFPEC Old Timer
Re:guard towers: how to set guys in em
« Reply #2 on: 24 Aug 2002, 23:12:26 »
Hm, yes, well, the guard towers already in place on the map can be populated as Artak there describes it, although it usually takes alot more of trial-and-error to get it exactly right ;-)

The guard will obviously hit the floor as soon as he spots and enemy or is shot upon, and especially on the smaller towers this usually means he'll fall to the ground below the tower ;)

This you can stop by putting the command:

this setUnitpos "UP"

into the unit's init field. As to the disableAI move, I'm not so sure, since in my experience they often think of simple turning as moving,and thus won't do it...hm, ah well.

Also, I've found (has maybe been fixed since then) that if you make them "safe" and then put the setUnitpos "UP" command on 'em, they will stay with their guns on their back no matter what....

Ah well, good luck anyhow!   :thumbsup:

Wolfrug out.
"When 900 years YOU reach, look as good you will not!"

TAPNKEGS

  • Guest
Re:guard towers: how to set guys in em
« Reply #3 on: 24 Aug 2002, 23:54:58 »
I'm not sure i understand the command order there... do I select a unit, double click on the tower and place it or is it waypoint commands?  I ask this because if i try to place a unit using this method on a tower I placed all it lets me do is edit the unit thats already there (tower in this case), it doesnt let me place a unit on top of a structure i placed.

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
Re:guard towers: how to set guys in em
« Reply #4 on: 25 Aug 2002, 00:11:10 »
if you place the structure you have to levetate the unit into posistion using this command:


this setpos [getpos this select 0, getpos this select 1, (getpos this select 2) +0.0]


change the 0.0 to suit (height) so the unit is at the right height to stand in the tower.

:thumbsup:
Proud Member of the Volunteer Commando Battalion

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:guard towers: how to set guys in em
« Reply #5 on: 25 Aug 2002, 01:26:17 »
Quote
I'm not sure i understand the command order there...
I ment that you would create a new unit by first pressin F1 and then double clicking on the tower  :D
Not all is lost.