Forum Jump :

Author Message


Posts: 4
Rank:


Level: Member

Country: it
Location: Pisa
Occupation:
Age: 35
In-game name:

 
#1 Posted at 2010-08-23 13:29        
     
Hi guys, i'm trying to make a mission with OA and i would like to change weapon and ammo to my soldiers.

I have removed all weapons and ammo using
removeallweapons this;
but there are still ammo and other things in backpacks, that i don't want it.
I would like add weapons and mines to backpack.

How can i do? *DONT_KNOW*

Thank you very much.

Djmitri *BYE*

This post was edited by Foxhound (2010-08-23 20:09, ago)


Author Message

W0lle  

call me evil


Posts: 1971
Rank:


Country: de
Location:
Occupation: CWR III Project Leader
Age: 105
In-game name:

 
#2 Posted at 2010-08-23 16:22        
     
clearMagazineCargo (unitBackpack this)

in initline of the unit.

The BI Wiki is your friend. ;-)


Advertisement


Author Message


Posts: 4
Rank:


Level: Member

Country: it
Location: Pisa
Occupation:
Age: 35
In-game name:

 
#3 Posted at 2010-08-23 19:40        
     
Thank You very much W0lle.

I'm still a bit new about editing. I will use thw BI Wiki in future... *THUMBS UP*


Author Message


Posts: 4
Rank:


Level: Member

Country: it
Location: Pisa
Occupation:
Age: 35
In-game name:

 
#4 Posted at 2010-08-25 11:44        
     
I have another question, i'll use this topic.

I have done my mission objects, enemy soldiers, etc etc. Now i want that, when i finished the mission i want to come back in base with eli. I would like to do, that when the Team reach a place, a trigger create an heli, that land and pick up the soldiers and than fly back to base.

I don't know how to do that.... :-(

Thank you

Djmitri *BYE*

This post was edited by Djmitri (2010-08-25 12:23, ago)


Author Message

Pirin  



Posts: 1547
Rank:


Level: Member

Country: us
Location: Atlanta, GA
Occupation: IT
Age: 47
In-game name: kylania

 
#5 Posted at 2010-08-25 13:31        
     
Here's an example that shows that.


Author Message


Posts: 4
Rank:


Level: Member

Country: it
Location: Pisa
Occupation:
Age: 35
In-game name:

 
#6 Posted at 2010-08-25 14:44        
     
That's awesome!!! =-O =-O =-O

Very interesting site, thank you very much Pirin. *THUMBS UP* *THUMBS UP* *THUMBS UP*


Author Message


Posts: 64
Rank:


Level: Member

Country: us
Location: LaCrosse Wisconsin
Occupation: Helicopter Pilot
Age: 35
In-game name: abcdeffmmvtt

 
#7 Posted at 2011-11-18 22:55        
     
BIS Wiki does not help me much (I probably dont understand it) How would I place a 30 round m4/m16 (dont know the class name of the top of my head) magazine in a backpack


Author Message


Posts: 1527
Rank:


Level: Member

Country: uk
Location:
Occupation:
Age:
In-game name:

 
#8 Posted at 2011-11-19 01:46        
     
The first part just makes sure there is some space to add magazines; the second part places 4 mags in the back pack.

Place it in a units init or if you use it in a trigger replace "this" with the units name
clearMagazineCargo (unitBackpack this); (unitBackpack this) addMagazinecargo ["30Rnd_556x45_Stanag",4]

weapons list can be found here Weapons list


Author Message


Posts: 64
Rank:


Level: Member

Country: us
Location: LaCrosse Wisconsin
Occupation: Helicopter Pilot
Age: 35
In-game name: abcdeffmmvtt

 
#9 Posted at 2011-11-19 02:11        
     
Thanks, It works and my riflemen now carry extra stinger ammo and machine gun ammo.


Author Message


Posts: 5
Rank:


Level: Member

Country: il
Location:
Occupation:
Age:
In-game name:

 
#10 Posted at 2013-07-24 16:21        
     
# abcdeffmmvtt : Thanks, It works and my riflemen now carry extra stinger ammo and machine gun ammo.
how did it worked ? I've tried it too...what do I need to fill in (unitBackpack this) ?
If you can answer me as quick as possible i will be glad :)


Author Message


Posts: 1527
Rank:


Level: Member

Country: uk
Location:
Occupation:
Age:
In-game name:

 
#11 Posted at 2013-07-24 16:53        
     
What are you trying to do, does your unit have a backpack?






Tags: Backpack