IRONFRONT FANS FORUM
Sign up Latest Topics
 
 
 


Reply
  Author   Comment   Page 2 of 2      Prev   1   2
Santa Six

Avatar / Picture

Colonel
Registered:
Posts: 360
Reply with quote  #16 
@Joarius That's actually how this came to be. The downside is, you have to name every bag and command accordingly. The script allows for an infinite number of tanks to have bags without the hastle.

@Major He means for you to place the and name the bags in the mission editor. Then copy and past the commands from the script into each bag. EACH BAG![comp][mad]

Will investigate further. Sorry for the inconvenience.
0
***=Major Mayhem=***

Avatar / Picture

IFR Team
Registered:
Posts: 299
Reply with quote  #17 
I just need it for One Tank ! ....  [bawl]

~S~

__________________

Major Mayhems -Iron Reich Co-op Group
Mission Repository >>> Downloads <<<

0
Santa Six

Avatar / Picture

Colonel
Registered:
Posts: 360
Reply with quote  #18 
Here, try this Major. Copy this code into an M4 Sherman's init line. It should do the same thing as the script within the mission file. With no limit on how many Shermans can use it.

bag = "Land_BagFenceShort" createVehicle (position this); bag attachTo [this,[0,2.6,0.5]]; bag setVectorUp [0,-1,1]; bag1 = "Land_BagFenceEnd" createVehicle (position this); bag1 attachTo [this,[-0.15,2,0.83]]; bag1 setDir 270; bag2 = "Land_BagFenceEnd" createVehicle (position this);  bag2 attachTo [this,[0.15,2.1,0.75]]; bag2 setDir 270; bag3 = "Land_BagFenceEnd" createVehicle (position this); bag3 attachTo [this,[-1,1.5,1.1]]; bag3 setDir 270; bag4 = "Land_BagFenceEnd" createVehicle (position this); bag4 attachTo [this,[1,1.5,1.1]]; bag4 setDir 270; bag5 = "Land_BagFenceEnd" createVehicle (position this); bag5 attachTo [this,[-1.3,1.6,1.1]]; bag5 setDir 270; bag6 = "Land_BagFenceEnd" createVehicle (position this);  bag6 attachTo [this,[1.3,-0.97,1.1]]; bag6 setDir 90; bag7 = "Land_BagFenceShort" createVehicle (position this);  bag7 attachTo [this,[1.3,0.33,1.1]]; bag7 setDir 90; bag8 = "Land_BagFenceShort" createVehicle (position this); bag8 attachTo [this,[-1.3,0.33,1.1]]; bag8 setDir 90; bag9 = "Land_BagFenceEnd" createVehicle (position this); bag9 attachTo [this,[1.3,1.6,1.1]]; bag9 setDir 270; bag10 = "Land_BagFenceEnd" createVehicle (position this); bag10 attachTo [this,[-1.3,-0.97,1.1]]; bag10 setDir 90; bag11 = "Land_BagFenceEnd" createVehicle (position this); bag11 attachTo [this,[1.05,-1.4,1.1]]; bag11 setDir 80; bag12 = "Land_BagFenceEnd" createVehicle (position this); bag12 attachTo [this,[-1.05,-1.4,1.1]]; bag12 setDir 100; bag13 = "Land_BagFenceEnd" createVehicle (position this);  bag13 attachTo [this,[0.5,-1.7,1.25]]; bag13 setDir -20; bag14 = "Land_BagFenceEnd" createVehicle (position this); bag14 attachTo [this,[-0.83,-1.9,1.2]]; bag14 setDir 180; bag15 = "Land_BagFenceShort" createVehicle (position this); bag15 attachTo [this,[0,-2.2,1.3]]; bag15 setVectorUp [0,-1,-0.2]; bgpak = "LIB_backpack_us_baz" createVehicle (position this); bgpak attachTo [this,[1.2,-1.6,0.59]]; bgpak setDir 270;    bgpak1 = "LIB_backpack_us_bar" createVehicle (position this); bgpak1 attachTo [this,[-1.2,-1.6,0.59]]; bgpak1 setDir 90; brwnMg = "M2HD_mini_TriPod" createVehicle (position this); brwnMg attachTo [this ,[0.35,0,2.9]];
0
***=Major Mayhem=***

Avatar / Picture

IFR Team
Registered:
Posts: 299
Reply with quote  #19 

thanks Santa this seems to be working

~S~


__________________

Major Mayhems -Iron Reich Co-op Group
Mission Repository >>> Downloads <<<

0
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.