OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: Alan34 on 18 Jan 2008, 22:30:03

Title: Bury wall
Post by: Alan34 on 18 Jan 2008, 22:30:03
I need to lower the wall object and wanted to know the best code to use.  It will essentially be "buried" part way into the ground to lower it's effective height.   Thanks
Title: Re: Bury wall
Post by: Mandoble on 18 Jan 2008, 22:41:05
Try:
Code: [Select]
wallobject setPos [getPos wallobject select 0,getPos wallobject select 1,-1.5]
Title: Re: Bury wall
Post by: Alan34 on 19 Jan 2008, 23:01:46
Works well, thanks.  :)