Jump to content
Sign in to follow this  
chrys45

Weapons on the ground.

Recommended Posts

hello all :)

In Arma2 it is possible to put weapons on the ground in the editor.

But I dont know, how I can do this in Arma3.

I did following in A2, that doesen't work in Arma3.

1.I place a Road Cone

2.I write the following in the init:

this setpos[(getpos this select 0),(getpos this select 1),-100];
Waffe1 = "WeaponHolder" createVehicle getpos this;
Waffe1 addWeaponCargo ["arifle_Khaybar_C_ACO_F",1];
Waffe1 setPos [getPos this select 0,getPos this select 1,0.5];Waffe1 setdir 75;

If I play, nothing happens. Their isn't any Weapon on the ground. :confused:

normally in Arma2 their is a weapon.

I hope you can help me.

Sorry, for my english.

Share this post


Link to post
Share on other sites

I have another question.

Is it possible to attach Scopes and other items at the Weapon on the ground ?

Share this post


Link to post
Share on other sites
I have another question.

Is it possible to attach Scopes and other items at the Weapon on the ground ?

While I don't know if you can do that individually, Arma 3 has several default weapon presets for the rifles. For example, you can have vanilla MX rifle ("arifle_MX_F"), or you can have an MX with an ACOG and laser sight on it ("arifle_MX_ACOg_point_grip_F"). Just stick those classnames into the code.

You can find the full list here.

Share this post


Link to post
Share on other sites
While I don't know if you can do that individually, Arma 3 has several default weapon presets for the rifles. For example, you can have vanilla MX rifle ("arifle_MX_F"), or you can have an MX with an ACOG and laser sight on it ("arifle_MX_ACOg_point_grip_F"). Just stick those classnames into the code.

Sure. But some Weapon Addons for example the R3F Mod haven't such classnames.

A solution to attach Items to Weapons on the ground with an Init-Code would be very helpful.

Share this post


Link to post
Share on other sites

No that is impossible as far as I know.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×