Author: M416_KSA
Author Website:

Requirements:

Version: 1.1 Beta

Short description: Save your gear and respawn with it

Date: 2013-07-09 16:22


Comments: (4)
Rating:



 

Gear Saver [BETA]

by
M416_KSA


Description:
This script allows you to save your gear whenever you want so you can save your time respawning and changing your weapons and stuff (also it restores weapons' accessories)


Installation:
Copy both files inside your mission folder

C:\Users\windows user name\Documents\Arma 3 - Other Profiles\Profile name\missions\your mission folder


Usage:
To respawn with Saved Gear:
1- copy "gearsaver" folder into your mission directory
2-add this into the init line of each player:
this addEventHandler ["killed", {_this execVM "gearsaver\weaponrespawn.sqf";}];
3- add this into the init of an object eg. a crate:
this addAction ["<t color='#ffff00'>Save Loadout</t>","gearsaver\weaponsave.sqf"]; 

To respawn with the same loadout you had when you died:
1- copy "gearsaver" folder into your mission directory
2-add this into the init line of each player:
this addEventHandler ["killed", {_this execVM "gearsaver\capture.sqf";_this execVM "gearsaver\weaponrespawn.sqf";}


Notes:
You can add the action to any object you want (car,sign,barrier,....,etc.) so be creative



Known issues:
- weapons in backpack won't be saved and might cause errors


Credits & Thanks:
- original "armed assault" script makers
Salsa and Gobbo
- the idea to split the script into two files and use global variables
MetaliX


Changelog:
v1.1
- added the ability to respawn with last gear you had before you die
- fixed goggles to be saved
- fixed some bugs




Enable javascript to be able to download from Armaholic please!