OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: UH60MG on 26 Jun 2008, 19:36:34

Title: [ solved ]How to add a level building?
Post by: UH60MG on 26 Jun 2008, 19:36:34
Is there a way to add a building object to a mission that does not align itself to uneven ground but to the horizontal?
Title: Re: How to add a level building?
Post by: loki72 on 26 Jun 2008, 23:24:20
greetings,

in the buildings init:

Code: [Select]
this setpos [getpos this select 0, getpos this select 1,((getpos this select 2) + 0)]; this setVectorUp [0,0,+0.1]
 :)
Title: Re: How to add a level building?
Post by: UH60MG on 26 Jun 2008, 23:35:15
I didn't think it was possible, thanks.