Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*=============================================
- 1.sqf zombie script
- Authors: richarddanh.com
- =================================================*/
- spawning_zombie1 = {
- [] spawn {
- sleep 80;
- _zombiegroup1 = [(getMarkerPos "ambush1"), EAST, (configFile >> "CfgGroups" >> "east" >> "RU" >> "Infantry" >> "RUS_ReconTeam")] call BIS_fnc_spawnGroup;
- {_x setVehicleInit "nul = this execFSM 'zombieLogic.fsm';"} foreach units _zombiegroup1;
- processInitCommands;
- };
- };
- spawning_zombie2 = {
- [] spawn {
- sleep 15;
- _zombiegroup2 = [(getMarkerPos "ambush2"), EAST, (configFile >> "CfgGroups" >> "east" >> "RU" >> "Infantry" >> "RU_InfSquad")] call BIS_fnc_spawnGroup;
- {_x setVehicleInit "nul = this execFSM 'zombieLogic.fsm';"} foreach units _zombiegroup2;
- processInitCommands;
- };
- };
- spawning_zombie3 = {
- [] spawn {
- sleep 5;
- _zombiegroup3 = [(getMarkerPos "ambush3"), EAST, (configFile >> "CfgGroups" >> "east" >> "RU" >> "Infantry" >> "RUS_ReconTeam")] call BIS_fnc_spawnGroup;
- {_x setVehicleInit "nul = this execFSM 'zombieLogic.fsm';"} foreach units _zombiegroup3;
- processInitCommands;
- };
- };
- spawning_zombie4 = {
- [] spawn {
- sleep 7;
- _zombiegroup4 = [(getMarkerPos "ambush4"), EAST, (configFile >> "CfgGroups" >> "east" >> "RU" >> "Infantry" >> "RUS_ReconTeam")] call BIS_fnc_spawnGroup;
- {_x setVehicleInit "nul = this execFSM 'zombieLogic.fsm';"} foreach units _zombiegroup4;
- processInitCommands;
- };
- };
- spawning_zombie5 = {
- [] spawn {
- sleep 40;
- _zombiegroup5 = [(getMarkerPos "ambush5"), EAST, (configFile >> "CfgGroups" >> "east" >> "RU" >> "Infantry" >> "RUS_ReconTeam")] call BIS_fnc_spawnGroup;
- {_x setVehicleInit "nul = this execFSM 'zombieLogic.fsm';"} foreach units _zombiegroup5;
- processInitCommands;
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment