OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Late-2-Duck on 08 Feb 2004, 20:45:25

Title: seriously need help!!!!!!
Post by: Late-2-Duck on 08 Feb 2004, 20:45:25
ok guys im new to flashpoint editing so im gonna be brief, i ahe heard thet you can do things like place things like sandbags on top of each other, and emplaced machineguns in windows of buildings...how do you do this?
Title: Re:seriously need help!!!!!!
Post by: j-man on 08 Feb 2004, 21:09:08
If you want to place a sandbag ontop of another one, then place two sandbags in the editor, one over the other and type the following code into one of the sandbags init field

Code: [Select]
this setpos [(getpos this select 0), (getpos this select 1), X]
replace "X" with what ever height you want (1, -11, 99138, etc...)

The same thing can be used to raise machine guns so that they are the same height as the window.

Title: Re:seriously need help!!!!!!
Post by: Late-2-Duck on 08 Feb 2004, 23:17:19
ok kool, ive got the hang of puttin machineguns in buildings, just not the wall thing, must be me i guess, if u got ne tips that mite help plz reply :)
Title: Re:seriously need help!!!!!!
Post by: dmakatra on 08 Feb 2004, 23:20:04
Its just like the MGs, whats the problem m8?

:beat: *Gets Shot* :beat:
Title: Re:seriously need help!!!!!!
Post by: The-Architect on 08 Feb 2004, 23:59:50
Like Armstong said it's the same a machine guns etc.
You do realise you can change the height in smaller increments don't you. I mean values from 0.1 up to 0.9 to 1.4, 2.7, 3.3, whatever you want.