Home   Help Search Login Register  

Author Topic: hight  (Read 571 times)

0 Members and 1 Guest are viewing this topic.

muntahunta

  • Guest
hight
« on: 30 May 2004, 17:52:42 »
does anyone know how to change the hight that a unit/object starts at??

i know theres probably a post asking this... but ive looked through as much as i can, and i cant find it anywhere

GrimMonkey

  • Guest
Re:hight
« Reply #1 on: 30 May 2004, 18:23:46 »
Code: [Select]
Unit SetPos (GetPos This Select 0, GetPos This Select 1, x)Unit = Unit you want to place at designated height
x = height you want unit to start at


Beware the GrimMonkey

CPT Rooster

  • Guest
Re:hight
« Reply #2 on: 30 May 2004, 18:35:15 »
If you want an AI Aircraft to fly at a certain height, you can use:

this flyInHeight #

where as the # is the height in feet

example this flyInHeight 2000 will fly the AI aircraft at 2000 feet.

Offline rhysduk

  • Former Staff
  • ****
Re:hight
« Reply #3 on: 31 May 2004, 01:21:11 »
2000 is a bit of an exaggeration i think... only planes can go this high and i dont think the AI will take the planes as high as this will they?

Rhys
Reviewed Missions Board: Please Read the User's Guide before posting!

Pride and Joy 1 (HW100-T)

Dubieman

  • Guest
Re:hight
« Reply #4 on: 31 May 2004, 02:46:26 »
Well if you setpos a plane near 10000 or something like that (i haven't found the boundery line yet) it does not fly at all, it instantly is in the ground and destoyed. THis might just be my com's reaction but I don't think so cause I tested it over 20 times. Helis are weird as the the air gets thinner up there the rotors don't work and you spin like a top in all directions. Good fun to be had even if the mechanics have to clean out the cockpit since the pilot didn't have a barf bag.

Offline TonyRanger

  • Members
  • *
  • I'm a llama!
Re:hight
« Reply #5 on: 31 May 2004, 04:30:19 »
you can control plane like this
plane Animate ["LeftGear", 0]
plane Animate ["RightGear", 0]
plane Animate ["RearGear", 0]
plane Animate ["NoseGear", 0]

plane Animate ["LeftGear", 1]
plane Animate ["RightGear", 1]
plane Animate ["RearGear", 1]
plane Animate ["NoseGear", 1]