Jump to content

1para{god-father}

Member
  • Content Count

    2047
  • Joined

  • Last visited

  • Medals

Everything posted by 1para{god-father}

  1. 1para{god-father}

    Return true/false from Parameters

    ahhh thanks that worked like a charm !
  2. What i am trying to do is from my parameters at game start select if a bit of code will run , but it will return 1/0 how can i get it to return true/false so the below will work ? My Description.ext // paramsArray[19] // title = "Allow the Spawn:"; values[] = {0,1}; texts[] = {"No","Yes"}; default = 1; }; Some code in a .sqf if (paramsarray select 19) then { run my code here etc... };
  3. Sorry could not find it , how can i place certain radios in load out so they have them at the start and not in the ammo crate ? Thanks
  4. Is there a way to get ALICE to work on this map ?
  5. 1para{god-father}

    Clafghan Map 20x20 Beta Release

    this might help http://forums.bistudio.com/showthread.php?t=110546&highlight=ALICE
  6. I am greating a group :- _grpbuild1 = [getMarkerPos "task4a", east, _enemyCount] call BIS_fnc_spawnGroup; When I know the task is finished i would like to delete all the men when they are dead , which is the best way ?
  7. 1para{god-father}

    BIS_fnc_spawnGroup Spawn Issue with GUR

    Thanks it was the first one that worked ! :) Nice one cheers
  8. Ny idea why this will not spawn the group in , it work if i want to spawn in normal takistan but now when i want to spawn in GUR ? _grpbuild1 = [getMarkerPos "task2", GUE, (configFile >> "CfgGroups" >> "GUE" >> "BIS_TK_GUE" >> "Infantry" >> "TK_GUE_Group")] call BIS_fnc_spawnGroup;
  9. I am trying to get a random position for my spawns , It works fine but when I need to spawn in say 10 group I would like to have each spawn in a diffrent location, I know I can create the below 10 times and add a _1 after each varible but is there a quicker way as that would be a lot of code just to get a new _positionToSpawnIn _vehicleambush=VEH1 _ang = random 360; _dis = 100; _dx = sin(_ang)*_dis; _dy = cos(_ang)*_dis; _positionToSpawnIn = [((getpos _vehicleambush) select 0) + _dx, ((getpos _vehicleambush) select 1) + _dy, 0]; _upsgrp1 = [1,_positionToSpawnIn,1,["ambush1","spawned","showmarker","delete:",30,"respawn:",5]] execVM "SCRIPTS\UPSMON\MON_SPAWN.SQF";
  10. 1para{god-father}

    Civilian

    Ahhh thanks great link BTW that worked !
  11. 1para{god-father}

    Civilian

    What would be the class for ALL civilians ? I know for Soliders it is "soldierWB","soldierEB" etc.. but cannot find anything on Civies Any Ideas ?
  12. Is this correct I am trying to add a addEventHandle to the group bu i do not thiunk the EH is being added !? _enemyCount=12; _grpbuild1 = [getMarkerPos "dubrovkaspawn", east, _enemyCount] call BIS_fnc_spawnGroup; _grpbuild1 addEventHandler ["killed", {_this execVM "f\common\f_removeBody.sqf"}]; _grpbuild1 execVM "PlaceInBuilding.sqf"; Thanks
  13. 1para{god-father}

    How to Spawn then set the groups Ini

    That works thanks, and took your advice and did not use setVehicleInit
  14. Trying to spawn in a group and then set the Ini for the Leader, but just cannot get it to work , can anyone please advise me where I am going wrong ? _enemyCount=12 _name=dubrovkaspawn _grpbuild1 = [getPos _name, east, _enemyCount] call BIS_fnc_spawnGroup; _grpbuild1 setVehicleInit "_grpbuild1 execVM "PlaceInBuilding.sqf"; processInitCommands;
  15. 1para{god-father}

    -[TdC]- Convoy Script

    I can get this to work when i test but as soon as i put it on a dedi server i get "scr_fnc_convoy.sqf: Not server or not enough param" ? Any idea why it will not work on a dedi ?
  16. 1para{god-father}

    EOD Mod

    Will you release a version without ACE just asking as unable use ace on our server and would love to use this mod !
  17. Is there a way to stop a helicopter from being totaly destroyed I want it so it can just about fly that way the Pilot needs to RTB to get it fixed is this possible ? Cheers
  18. 1para{god-father}

    R.a.i.f. - w.i.p.

    Looks like it will be a winner when youn get it to all work !
  19. I spawn in an ammo crate, but for some reason when I do this on a hosted server there is ortiginal stuff in the crate as well and i can not get anything out of the crate ? Any idea why ? psammobox = createVehicle ["BAF_Launchers", _paraland, [], 0, "NONE"]; sleep 0.5; clearWeaponCargo psammobox; clearMagazineCargo psammobox; sleep 0.5; psammobox addWeaponCargo ["MAAWS", 3]; psammobox addMagazineCargo ["MAAWS_HEAT",7];
  20. 1para{god-father}

    Spawn Ammo Crate - can not take things out

    Will give it a try thanks!
  21. I spawn in a scud , but I wanted to also spawn in another vehicle and join it to the group how would i do that , so when i set the WP up they will both go. // Spawn the scud launcher. _ch = [_spot2, 0, "MAZ_543_SCUD_TK_EP1", EAST] call BIS_fnc_spawnVehicle;
  22. 1para{god-father}

    Spawn in and add to Group

    ahh many thanks
  23. 1para{god-father}

    createUnit ...plane?

    This is what I use to spawn a flying plane in then i use UPSMON so it flys around the markwe area. You can just remove that part and spawn 2 planes in _SpawnPos = [(getMarkerPos "markerspawn" select 0), (getMarkerPos "markerspawn" select 1), 500]; _Su34veh = [_SpawnPos, (random 360), "Su34", EAST] call BIS_fnc_spawnVehicle; // spawn in the plane ///Add UPSMON [(leader (_Su34veh select 2)), "patrol_all","spawned","delete:",200] execVM "scripts\upsmon.sqf";
  24. I need a way to stop a trigger activating by air as it sets of some trigger that i only want to set off by foot / land vehicles. Can someone please advise what I can pop in the trigger thanks
  25. Is there a way to have a marker on the map but use this marker with a coundown timer i.e show on the map a countdown from say 10min ? that eveyone can see in MP on hosted server ? Thought someone might have something out there already ?
×