Jump to content

Photo
- - - - -

Stacking cargo crates


  • Please log in to reply
1 reply to this topic
Thread Starter
Black_watch
Black_watch

    Rookie

  • Members
  • 4 posts

#1

Posted 08 May 2012 - 10:21

Could some one please point me in the direction for a script to stack cargo crates please.

I know the init for popping crates on top of each other is

This setPos [ getPos this select 0, getPos this select 1, (getPos this select 2) +2.7]

What I'm trying to do though is stack cargo containers at a 45 degree angle against each other.

PELHAM
PELHAM

    I shall not insult moderators

  • Banned
  • 1576 posts

#2

Posted 08 May 2012 - 13:45

You need a functions module on the map to use this and
waituntil {!isnil "bis_fnc_init"};
at the top of the script. See more functions and a complete list using BIS_fnc_Help
http://community.bis...mA_2:_Functions

scriptName "Functions\objects\fn_setPitchBank.sqf";
Spoiler