Search the Community
Showing results for tags 'support requester'.
Found 1 result
-
Update to multiplayer Support requester
Ry4nD posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
https://github.com/rcantec/Support-Requester //Support Requester By RCANTEC(RyanD) 2018 _this select 0 synchronizeObjectsAdd [SupportRequester]; SupportRequester synchronizeObjectsAdd [_this select 0]; BIS_supp_refresh = TRUE; publicVariable "BIS_supp_refresh"; if (typeOf (_this select 0) isEqualTo "B_T_Sniper_F") then { [_this select 0, SupportRequester, ArtilleryProvider] call BIS_fnc_addSupportLink; [_this select 0, SupportRequester, CasProvider] call BIS_fnc_addSupportLink; [_this select 0, SupportRequester, TransportProvider] call BIS_fnc_addSupportLink; [_this select 0, SupportRequester, AmmoProvider] call BIS_fnc_addSupportLink; [_this select 0, SupportRequester, HelicasProvider] call BIS_fnc_addSupportLink; }; Add initPlayerLocal.sqf to your mission root folder, place labeled support modules. Place Support requester module named SupportRequester Then place virtual Support modules for each named; ArtilleryProvider, CasProvider, TransportProvider, AmmoProvider, HelicasProvider Sync each virtual module back the the main SupportRequester module. The line containing if (typeOf (_this select 0) isEqualTo "B_T_Medic_F") then { Whereas quoted class type can be any playable unit "B_T_Medic_F" playable units with same class name will have the support enabled. If you want to see how it is implemented in a multiplayer mission, you can try my Malden Insurgency https://github.com/rcantec/Malden_Insurgency_R1.Malden