Home   Help Search Login Register  

Author Topic: Hunting Tower from Res objects  (Read 415 times)

0 Members and 1 Guest are viewing this topic.

AUS_Viper

  • Guest
Hunting Tower from Res objects
« on: 11 Sep 2004, 13:34:20 »
I downloaded the object addon for Resistance and have placed a "tree with hunting tower" into a mission.

Whats the secret to placing enemy AI in these towers?

I have tried both placement on the map and a GET IN waypoint, but neither seem to work.

Is there an easy way around this or is it not possible

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Hunting Tower from Res objects
« Reply #1 on: 11 Sep 2004, 13:43:21 »
Just place your unit on the map.

Then put something akin to this in his init field:

hunter setpos [getpos tower select 0, getpos tower select 1, (getpos tower select 2) +5]

hunter would be the name you give the unit, tower would be the name you give the tower, change them to the correct names you have used.

The '+5' you might have to experiment with this till you get it right, it is the height.

Syntax almost quaranteed.


Planck
I know a little about a lot, and a lot about a little.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Hunting Tower from Res objects
« Reply #2 on: 13 Sep 2004, 15:26:33 »
Depending on exactly what you want, you might find some of the following commands useful:

disableMove
disableTarget
doStop
doWatch
setUnitPos
Plenty of reviewed ArmA missions for you to play