Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
This is the script I was working on making when I asked these questions just in-case it helps someone else. Should work fine when thrown into the `initPlayerLocal.sqf`, currently it just puts the crate next to the impact site like a soldier or vehicle. I plan to modify the `fn_podFunctions.sqf` script to accept an array of items so that isnt necessary.
_player addEventHandler ["Fired", {
params ["_unit", "_weapon", "_muzzle", "_mode", "_ammo", "_magazine", "_projectile", "_gunner"];
if (_ammo isEqualTo "SmokeShellBlue") then {
_ammoCrate = "Box_NATO_AmmoVeh_F" createVehicle [0,0,0];
_ammoCrate allowDamage false;
_ammoCrate addItemCargo ["item", 1];
private _goes_off_at = diag_tickTime + getNumber(configOf _projectile >> "explosionTime");
[_projectile, _goes_off_at, _ammoCrate, _unit] spawn {
params ["_projectile", "_goes_off_at", "_ammoCrate", "_unit"];
waitUntil{diag_tickTime >= _goes_off_at};
systemChat format ["Resupply incoming at %1", getPosATL _projectile];
[_ammoCrate,_projectile,["Box_NATO_AmmoVeh_F", "Box_NATO_AmmoVeh_F"],false,false] call BBUS_ZENDropPod_fnc_dropPod;
};
}
}];
You can join the plus mods discord server here:
https://discord.gg/UnQAQMKGdS
Or you can e-mail me .)
http://mailto:basipekgaming@gmail.com