Jump to content

1para{god-father}

Member
  • Content Count

    2047
  • Joined

  • Last visited

  • Medals

Everything posted by 1para{god-father}

  1. 1para{god-father}

    Cargo Load and Drop Script

    [quote name= EDIT 2: with psivalli's code ammocrates and vehicles land on the ground, but ammocrate content is still not accessible when the crate is dropped in midair (one can see the content of the box but one can't switch or grab anything), only when the crate unloaded from the ground one has full access.. I tried all 3 codes, none worked for me to retrieve content of an ammocrate when it's been dropped in midair. however, with psivalli's code the ammocrate lands on the ground (unlike the ATL code). for what it's worth, the original code worked for me just as well as psivalli's code (crates landing on ground) - the unaccessible content issue remains however with all 3 versions.- Well it works for me with no issue after the change, I can get all weapons etc.. out of the crate once it lands on the ground, did you change it for all size small,med,large,XL ? but then again i never had your issue with the Parachute !!!! Also if you read back a little he is working on a new script !
  2. 1para{god-father}

    Generate Random Position

    Ahhh thanks that is what i needed Cheers
  3. 1para{god-father}

    Generate Random Position

    That would not be possible as it is dynamic the Area i need to attack, the vehicle could be anywhere on the map so once i trigger i need to spawn in a ambush i get a random location already but if i want to spawn a ambush of 10 groups i need 10 random location so the only way i know is to generate my script 10 times I.e 10 diffrent _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"
  4. 1para{god-father}

    Generate Random Position

    10 diffrent Groups in diffrent positions wityhing the area, so a random _positionToSpawnIn each time. Will try that kylania now - many thanks
  5. If I wanted to activate a trigger if 1 of say 3 vehicles are destroyed how can I do that , I know I can do !alive aaaa AND !alive bbbb AND !alive cccc but I want to activate if any of the 3 vehicles have been destroyed not all. i.e can you use a "OR" i.e !alive aaaa OR !alive bbbb etc.. ? Thanks
  6. 1para{god-father}

    Check Any Unit is !alive not all

    thanks guys so many ways :)
  7. Must be missing something here , I get the trigger and it all works fine i get the Hint , but then deletevehicle does not seem to work as the marker will not go ? Is that the correct way to delete a marker ? /////Make Marker///// _ambush1 = createmarker ["ambush1",getpos _vehicleambush]; _ambush1 setmarkershape "ELLIPSE"; _ambush1 setmarkersize [150,150]; _ambush1 setMarkerColor "ColorRed"; /////Make Trigger/////////////////////// _triggeram1 = createTrigger["EmptyDetector",[getPos _vehicleambush select 0,getPos _vehicleambush select 1,0]]; _triggeram1 setTriggerArea [150,150,27,false]; _triggeram1 setTriggerActivation ["EAST","NOT PRESENT",true]; _triggeram1 setTriggerTimeout [0,0,0,false]; _triggeram1 setTriggerStatements ["this", "hint 'Mission Finished';","sleep 5; deleteVehicle ambush1;"];
  8. 1para{god-father}

    Delete Marker on trigger Deactivation ??

    Ahhh i thought it should be on the Deactivation ! That works :) Cheers, so what is Deactivation used for ?
  9. 1para{god-father}

    Delete Marker on trigger Deactivation ??

    Hmmm still cannot get it to delete the marker I get the Hint Finished but it does not delete the marker still ? Anything eles i am doing wrong ? _ambush1 = createmarker ["ambush1",getpos _vehicleambush]; _ambush1 setmarkershape "ELLIPSE"; _ambush1 setmarkersize [150,150]; _ambush1 setMarkerColor "ColorRed"; _triggeram1 = createTrigger["EmptyDetector",[getPos _vehicleambush select 0,getPos _vehicleambush select 1,0]]; _triggeram1 setTriggerArea [150,150,27,false]; _triggeram1 setTriggerActivation ["EAST","NOT PRESENT",true]; _triggeram1 setTriggerTimeout [0,0,0,false]; _triggeram1 setTriggerStatements ["this", "Hint 'Mission Finished';","deleteMarker 'ambush1'"];
  10. Getting a error on the BIS_fnc_taskAttack -undefined Varible - can somone please advise where I am going wrong ? (BIS_fnc_spawnGroup works no problems) Also should I use BIS_fnc_taskAttack or just use WP to send them in to attack ? which is best ? _ambush1 = createmarker ["AMBUSH1",getpos _vehicleambush]; _ambush1 setmarkershape "ELLIPSE"; _ambush1 setmarkersize [150,150]; _ambush1 setMarkerColor "ColorRed"; _grp = [ _positionToSpawnIn, _side, _enemyCount] call BIS_fnc_spawnGroup; _null = [_grp,(getMarkerPos _ambush1)] call BIS_fnc_taskAttack;
  11. 1para{god-father}

    Spawn distance from pos

    Guys you are all great, love this community always so helpful ! Another question I can get BIS_fnc_spawnGroup working with a marker but not with x,y,z where am i going wrong ? _positionToSpawnIn = [getPos _vehicleambush select 0, (getPos _vehicleambush select 1) + 30,0]; hint str _positionToSpawnIn; _grp = [getPos _positionToSpawnIn, east, _enemyCount] call BIS_fnc_spawnGroup; Opps sorry worked it out did not need getpos !! Thanks guys !
  12. OK need some more advice please ! I have spawned a vehicle that driver around some WP around the map, once it get destroyed I would like to spawn in a group of men to start an ambush , I know I can get the position of the vehicle But how can I then spawn them a good distance away from that position and attack i.e Seek & Destroy Thanks
  13. Some advise please Say i create a A10 using the following:- _A10Spawn = [markerPos "some_marker", random 360, "A10", west] call BIS_fnc_spawnVehicle; If i want to check in a trigger using the editor that the A10 is destroyed how can I reference it ? as i presume i cannot use "!Alive __A10Spawn" What is the work around ? thanks
  14. Just started to use this but cannot find out how I can work out if the Convoy is destroyed ? I have tried !alive Convoy_1 with a hint but it never get the hint once i blow it up ? Any idea how i find the name assisgned as it is via script ? Thanks
  15. I know this is a silly question but i just cannot seem to get it to work ! I have placed a motorized group down and given the leader some WP's the first is load but they do not get in they just follow the Vehicle on foot ? also tride GETIN but they still do not get in. Any advise on how to get these guys to get in and not walk ? Thanks
  16. 1para{god-father}

    motorized group do not load up ?

    I just placed a Pre made Group direct from the editor, one with a transport vehicle in - so there should be no issue about room ?!
  17. 1para{god-father}

    motorized group do not load up ?

    Well it must be me as the bliters still will not get in ! have tried Demonized suggestion - no luck , have tried putting them all in "Cargo" still no joy ! Any other suggestions apart from a hammer :)
  18. 1para{god-father}

    motorized group do not load up ?

    The above code must be missing something as it will not let me use that ? It was for an ambush so needed a WP can you suggest a new way ? need 2 trucks full of Inf to get to a marker for an ambush when bluefor enter a area. should i just use a script then ? Cheers
  19. 1para{god-father}

    DMZ Delete [script]

    Great script !
  20. I have a helicopter called "Extract1" and when it get into a trigger area i want it to explode in midair so simulate a AA hit. Can anyone let us know the best way to so this ? Thanks
  21. 1para{god-father}

    How to Simulate AA hit

    Thanks that is great !
  22. 1para{god-father}

    How to Simulate AA hit

    Thanks but would like to know how to activate a trigger via a named vehicle
  23. 1para{god-father}

    How to Simulate AA hit

    Thanks, If i want to set a trigger that will activate just for say the helicopter "Extract1" what would i need to use in the condition ?
  24. 1para{god-father}

    SPY Battle Statistics (bStats)

    Thanks, Another quick question Does this apply to just Vehicle weapons or also weapons you carry i.e can it count how many bullets my AK will fire ? Opps just read your OP and noticed it does both sorry ignore above :)
×