Home   Help Search Login Register  

Author Topic: Sandbags  (Read 1077 times)

0 Members and 2 Guests are viewing this topic.

Offline snozzdog

  • Members
  • *
Sandbags
« on: 27 Jun 2008, 00:31:30 »
Im trying to make a replica of the Sangin district centre in Afgansitan, they piled sanbags around the top stories of buildings for cover.

I've seen this done on flashpoint but dont know how its done, can someone please help me...

If i have a building i can access the roof of, how can i set sandbags so they appear around the edges of the walls on the top level, i know i'll have to make loads and they'll take ages but im stuck.

I think its something to do with setting the height of the sandbags in the INIT field, someone please helpppp!!!


Ash

Offline loki72

  • Former Staff
  • ****
    • Loki's Nightmare
Re: Sandbags
« Reply #1 on: 27 Jun 2008, 01:16:50 »
greetings,

not sure if it is the same in OFP as ArmA... however.

in the sandbag init:

Code: [Select]
this setPos [getPos this select 0, getPos this select 1, (getPos this select 2) +10]
+10 is the height that you can change depending on the height of the building.

 :)

Offline snozzdog

  • Members
  • *
Re: Sandbags
« Reply #2 on: 27 Jun 2008, 01:17:49 »
Thanks :) the boys at at Sangins district center will survive a day longer thanks to you  :good: