DayZ Script Thread (Post your scripts here)
I realized we didn't have a place where we can post scripts, so, Please post any scripts you know of, or script snippets here on this thread for others to use. Anyone using these scripts should know how to use them, please don't ask for help
Please use the code tags so it is easy to see your code. keep it nice and tidy please and use proper language
Ill start it off, heres some I know of
Give weapon
Give Items (Map etc...)
Remove weapons/items/backpack:
Backpack contents:
Legal chernarus class names can be found here:
Updated Dayz Classnames [Legal]
Again, if you don't know how to use these, do not ask for help
Please use the code tags so it is easy to see your code. keep it nice and tidy please and use proper language

Ill start it off, heres some I know of
Dance Scripts
Dance 1:
Dance 2:
Dance 3:
Stop Dance:
Code:
player playMoveNow "ActsPercMstpSnonWnonDnon_DancingDuoIvan"
Code:
player playMoveNow "ActsPercMstpSnonWnonDnon_DancingDuoStefan"
Code:
player playMoveNow "ActsPercMstpSnonWnonDnon_DancingStefan"
Code:
player playMoveNow "AmovPercMstpSrasWpstDnon";
Give weapon
Code:
player addweapon "AK_47_M"; player selectWeapon "AK_47_M"; player addMagazine '30Rnd_762x39_AK47'; player addMagazine '30Rnd_762x39_AK47'; player addMagazine '30Rnd_762x39_AK47'; player addMagazine '30Rnd_762x39_AK47'; player addMagazine '30Rnd_762x39_AK47'; player addMagazine '30Rnd_762x39_AK47'; //Add or sabtract as much ammo as you want, or have none at all.
Code:
player addWeapon 'Binocular'; player addWeapon 'ItemCompass'; player addWeapon 'ItemMap'; player addWeapon 'ItemWatch'; player addWeapon 'ItemHatchet'; player addWeapon 'ItemKnife'; player addWeapon 'Itemmatchbox'; player addWeapon 'Itemtoolbox'; player addWeapon 'ItemFlashlight';
Code:
removeAllWeapons player; removeAllItems player; removebackpack player;
Code:
removebackpack player; //Make sure player doesnt already have a backpack player addBackPack "DZ_ALICE_Pack_EP1"; //Add packpack bp = unitBackpack player; bp addMagazineCargoGlobal ["FoodCanPasta",2]; // 2 = Amount, change to however many you want bp addMagazineCargoGlobal ["ItemBloodbag",3];
Updated Dayz Classnames [Legal]
Again, if you don't know how to use these, do not ask for help
