Jump to content
Sign in to follow this  
-ami- mofo

first aid kits & anims questions

Recommended Posts

Hi guys I can add 1 first aid kit to a unit in the editor with this

this addItem "FirstAidkit";

But couldn't get 3 first aid kits by doing this

this addItem ["FirstAidKit",3];

Is there a way to add multiple FAK's?

Also I found some BIS anims that work by adding (ie)

[this,"REPAIR_VEH_PRONE"] call BIS_fnc_ambientAnim;
*/

to the units init in the editor. However is there a way for the unit to snap out of whatever animation he is doing if he gets shot at? Probably no point using these anims if there's going to be a firefight all around the unit and he just keeps doing what he's doing. Kind of an immersion killer....

Share this post


Link to post
Share on other sites

This will give the unit 4 FirstAidKit's

{this addItem "FirstAidkit";} foreach [1,2,3,4];

Or put items into the units vest, backpack and uniform. Adapt this to suit

//Give unit ammo and extras and place in Uniform, Vest and Backpack
{this addItemToUniform "HandGrenade"} foreach [1,2,3,4,5];
{this addItemToVest "3Rnd_HE_Grenade_shell"} foreach [1,2,3,4,5,6,7];
{this addItemToVest "30Rnd_65x39_caseless_mag_Tracer"} foreach [1,2,3];
this addItemToVest "SmokeShell";
this addItemToVest "Chemlight_blue";
{this addItemToBackpack "FirstAidKit";} foreach [1,2,3,4,5,6,7,8];
{this addItemToBackpack "HandGrenade";} foreach [1,2,3,4,5];
{this addItemToBackpack "30Rnd_65x39_caseless_mag_Tracer";} foreach [1,2,3,4,5];
{this addItemToBackpack "3Rnd_HE_Grenade_shell";} foreach [1,2,3];

Share this post


Link to post
Share on other sites
However is there a way for the unit to snap out of whatever animation he is doing if he gets shot at? Probably no point using these anims if there's going to be a firefight all around the unit and he just keeps doing what he's doing. Kind of an immersion killer....

See THIS post.

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  

×