Home   Help Search Login Register  

Author Topic: Another editing problem!  (Read 1053 times)

0 Members and 1 Guest are viewing this topic.

Offline Captain Crunch

  • Members
  • *
Another editing problem!
« on: 10 Apr 2007, 23:34:08 »

Hi people.

I am trying to correct an inconvenient but don't know how to do it or if it's even possible. I want to put some M2s guarding a bridge. The M2s are situated on the terrace of houses close to the bridge. The houses are build on slopes. The houses are straight but when I use in the Init Field of the M2s:

Code: [Select]
This SetPos [GetPos This Select 0, GetPos This Select 1, (GetPos This Select 2 +5)]
But the machine guns take the angle of the terrain so it doesn't sit straight on the house. Is there a way to change the angle? I was also planning to place other objects around too so a solution would help a lot. Anyone knows of a way to do this? Thank You in advance.

Crunch
Back to the forest!

Offline Mr.Peanut

  • Former Staff
  • ****
  • urp!
Re: Another editing problem!
« Reply #1 on: 11 Apr 2007, 00:02:01 »
I do not know if they will stay this way but try this setVectorUp [0,0,1].
urp!

Offline Captain Crunch

  • Members
  • *
Re: Another editing problem!
« Reply #2 on: 11 Apr 2007, 00:11:59 »
YES!

Mr. Peanut, thank You for the swift answer. And it works perfect! Problem solved
Back to the forest!