Home   Help Search Login Register  

Author Topic: Mass setpos-ing  (Read 359 times)

0 Members and 1 Guest are viewing this topic.

Drozdov

  • Guest
Mass setpos-ing
« on: 03 Sep 2003, 21:23:03 »
Is there a way to change the position of a whole bunch of items (I want to move ammo crates but it obviously wouldn't be exclusive to this)  by only using one trigger (and one setpos command)? It'd be good if they would also keep the same positions in relation to each other (that'd save a lot of fucking about) . This sounds as if it should be possible...

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:Mass setpos-ing
« Reply #1 on: 03 Sep 2003, 23:18:31 »
not w/ 1 setpos command  :-\  :P

but u can make script dat runs like dat (its 2 late 4 me 2 start scriptin somin complicated)

gets

[canterpos,arrayOfThings2BSetposed,NewLocOfCenterPos] exec "Scriptname.sqs"

nd den start getin da relative pos of all things in da array 2 da center pos nd put it around da new pos ;) it shud b done w/ 1 or 2 loops not more ;D

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta