-
Content Count
2047 -
Joined
-
Last visited
-
Medals
Everything posted by 1para{god-father}
-
Return true/false from Parameters
1para{god-father} replied to 1para{god-father}'s topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
ahhh thanks that worked like a charm ! -
Return true/false from Parameters
1para{god-father} posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
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... }; -
A.C.R.E - Advanced Combat Radio Environment - 1.3 Stable - Release Thread
1para{god-father} replied to noubernou's topic in ARMA 2 & OA - ADDONS & MODS: COMPLETE
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 -
[ADO] Tigeria : Island, Units & Vehicles
1para{god-father} replied to oldbear's topic in ARMA 2 & OA - ADDONS & MODS: COMPLETE
Is there a way to get ALICE to work on this map ? -
Clafghan Map 20x20 Beta Release
1para{god-father} replied to minimalaco's topic in ARMA 2 & OA - ADDONS & MODS: COMPLETE
this might help http://forums.bistudio.com/showthread.php?t=110546&highlight=ALICE -
Delete group when using BIS_fnc_spawnGroup
1para{god-father} posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
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 ? -
BIS_fnc_spawnGroup Spawn Issue with GUR
1para{god-father} replied to 1para{god-father}'s topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Thanks it was the first one that worked ! :) Nice one cheers -
BIS_fnc_spawnGroup Spawn Issue with GUR
1para{god-father} posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
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; -
Generate Random Position
1para{god-father} posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
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"; -
Civilian
1para{god-father} replied to 1para{god-father}'s topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Ahhh thanks great link BTW that worked ! -
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 ?
-
Add addEventHandle to a Group
1para{god-father} posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
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 -
How to Spawn then set the groups Ini
1para{god-father} replied to 1para{god-father}'s topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
That works thanks, and took your advice and did not use setVehicleInit -
How to Spawn then set the groups Ini
1para{god-father} posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
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; -
-[TdC]- Convoy Script
1para{god-father} replied to comarsky's topic in ARMA 2 & OA - ADDONS & MODS: COMPLETE
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 ? -
Will you release a version without ACE just asking as unable use ace on our server and would love to use this mod !
-
Helicopter - Damage
1para{god-father} posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
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 -
R.a.i.f. - w.i.p.
1para{god-father} replied to lucilk's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Looks like it will be a winner when youn get it to all work ! -
Spawn Ammo Crate - can not take things out
1para{god-father} posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
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]; -
Spawn Ammo Crate - can not take things out
1para{god-father} replied to 1para{god-father}'s topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Will give it a try thanks! -
Spawn in and add to Group
1para{god-father} posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
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; -
Spawn in and add to Group
1para{god-father} replied to 1para{god-father}'s topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
ahh many thanks -
createUnit ...plane?
1para{god-father} replied to bboy's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
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"; -
Stop Air setting off trigger
1para{god-father} posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
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 -
Countdown timer on map ?
1para{god-father} posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
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 ?