Asenna Steam
kirjaudu sisään
|
kieli
简体中文 (yksinkertaistettu kiina)
繁體中文 (perinteinen kiina)
日本語 (japani)
한국어 (korea)
ไทย (thai)
български (bulgaria)
Čeština (tšekki)
Dansk (tanska)
Deutsch (saksa)
English (englanti)
Español – España (espanja – Espanja)
Español – Latinoamérica (espanja – Lat. Am.)
Ελληνικά (kreikka)
Français (ranska)
Italiano (italia)
Bahasa Indonesia (indonesia)
Magyar (unkari)
Nederlands (hollanti)
Norsk (norja)
Polski (puola)
Português (portugali – Portugali)
Português – Brasil (portugali – Brasilia)
Română (romania)
Русский (venäjä)
Svenska (ruotsi)
Türkçe (turkki)
Tiếng Việt (vietnam)
Українська (ukraina)
Ilmoita käännösongelmasta
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