PapaStalin1 0 Posted November 1, 2022 Making a mission for a few of the lads. Anyone have a script or a way to have a squadleader place an outpost for other players to spawn at like in Hell Let Loose or Squad? currently we are using triggers with setMarkerPos, but we'd love to use an actual point that can be added and removed. Hope this isn't too complex, cheers in advance Share this post Link to post Share on other sites
Melody_Mike 127 Posted November 2, 2022 Sure. There's several missions on the workshop that have this feature in various forms. I am copy+pasting one that user Leopard20 made. Create an initplayerlocal.sqf (see https://community.bistudio.com/wiki/Event_Scripts for details) in your mission folder and paste this: player addEventHandler ["Put", { params ["_unit", "_cont", "_item"]; if (getNumber (configFile >> "CfgVehicles" >> _item >> "isBackpack") == 1) then { if (_cont getVariable ["hasRespawnAction", false]) exitWith {}; _cont addAction ["Deploy Respawn",{[west, _this#0, "Camp"] call BIS_fnc_addRespawnPosition;},nil,1.5,true,false,"","true",3,false,""]; _cont setVariable ["hasRespawnAction", true, true]; }; }]; 1 Share this post Link to post Share on other sites
Melody_Mike 127 Posted November 2, 2022 This particular script notices if the player has dropped their backpack, then gives them the option of creating a spawn point. Share this post Link to post Share on other sites
PapaStalin1 0 Posted November 2, 2022 Legend. I'll give it a crack when I have time after work later this week. Cheers mate Share this post Link to post Share on other sites