Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×

-RIP-Tyson

Member
  • Content Count

    19
  • Joined

  • Last visited

  • Medals

Everything posted by -RIP-Tyson

  1. As always apologies if this has been asked before - I have searched and searched for over an hour and cannot find the answer.... I am spawning a mission critical scud launcher using the following code in a trigger - x = [markerPos "scud1", random 360, "MAZ_543_SCUD_TK_EP1", EAST] call BIS_fnc_spawnVehicle; How do I name it scud1 so I can have another trigger !alive scud1 for an objective? Ideally I want to do this all in the trigger which spawns the object and I want it to work on a dedicated coop server.... Please can someone help?
  2. -RIP-Tyson

    Naming a spawned vehicle

    Brilliant thanks ---------- Post added at 06:33 PM ---------- Previous post was at 05:39 PM ---------- Sorry to answer my own thread... The bit that says Random 360 I'm guessing is making the unit face a random direction.... what do I change to fix the direction to look say due East?
  3. -RIP-Tyson

    Naming a spawned vehicle

    All I want is for the server to spawn the scud launcher and give it a name as the next objective is to destroy that launcher... do i still need to make it a public variable? if So am i just adding that last bit onto the code at the end?
  4. -RIP-Tyson

    Naming a spawned vehicle

    works like a charm - thank you very much... :)
  5. -RIP-Tyson

    Naming a spawned vehicle

    That's what i was hoping but it doesn't seem to be the case....
  6. Excellent script Madbull - finding this has opened up the chance for me to make a mission I have been considering for months.. A couple of questions - Im trying to place a sat phone on the deck of a carrier but no matter what I do with setpos it falls through. Is there any way round this? With the logistics set up is there a way to make certain bunkers etc non movable so players cant start stealing scenery etc? Also is there a way for say only the Squad Leader to have the ability to move and pack stuff?
  7. I'm using the code above but its triggering when there are far more enemies in the area than I have stipulated. Last test I had about 12 left in the area when I had it set to 5. would enemy spawning in effect this at all? Do enemy flee then change their minds and then get all brave again? If not does anyone have any ideas what could be the cause?
  8. I promise I have searched, found a lot of threads and tried everything I can without any luck... I want an AI civilian to walk up to the roof of a building drop an IR strobe and walk away afterwards. I have a waypoint with "irstrobe1="IR_Strobe_Marker" createVehicle getPos ir1" and a gamelogic called ir1. when the Ai hits teh wp the IR strobe appears and everything works fine except the strobe is downstairs and I want it on the roof. I've tried setpos and various other ideas but nothing raises the height of the strobe. I just know this is something simple.... but can someone help me? What do I need to code and where should it be coded? In nice simple terms too please ;)
  9. -RIP-Tyson

    IR Strobe height

    ok thanks... I will try and get this working
  10. -RIP-Tyson

    IR Strobe height

    well it spawns inside the building and from certain angles cant be seen hence I would prefer it on the roof if possible....
  11. I think the line calling the script on the Zargabad version is slightly wrong? I renamed the script guardwatch.sqf and it worked fine.... Superb script though which will be in any mission I make from now on - thanks!!!
  12. Please ignore - stupid error
  13. Id like to create a series of simulated mortar strikes.. I can make a single explosion and I can make a number of them but I really want a delay of a few seconds between each... how is this done? Also I would like the scream of the incoming round to be heard too - is this possible and if so how?
  14. -RIP-Tyson

    A flaw in my mission

    Brilliant advice from both of you thanks very much... Flaw sorted & mission development back in progress again.
  15. can anyone help me as this is driving me mad.... as always I have searched (for over 2 hours) and cannot find an answer this time..... Basically my (first ever real) MP coop mission involves a patrol searching and destroying ammo caches and eventually killing an enemy leader ( I know its not massively original but I'm trying to learn this first). I want the patrol to have air cover and I want the objectives to be completed in a set order and this is where the problem lays.. How do I prevent a stray bomb killing the enemy leader whilst the ground troops complete objectives 1 and 2? I've thought about spawning him in after the 2nd objective is complete but cant find a way of spawning in a named unit with an !alive trigger attached to him... I also thought about making him invulnerable until obj2 is complete but cant work out how to do it. So can anyone help me please?
  16. -RIP-Tyson

    A flaw in my mission

    Thanks for answering although being honest your answer is beyond me as I'm still very new to this... The killing of the enemy leader isn't the last objective as the mission ends when the squad return to base so I'm not sure if your way will work....and in any case I'm not really sure how to do it. Is there a simple script which will spawn in my target with the name and if so could you show me? Also will the !alive trigger fire if the enemy is not present or just when he is and he has been killed? Sorry to be a pain but this is my first real attempt at doing anything more complicated than a simple mission...
  17. Before I start this is my first attempt at a coop mission so Im sorry if this question is something I should be able to figure out for myself... I have searched the forums and looked at multiple guides etc to no avail. I want my mission to start and end at a base on the map with players choosing to insert by chopper or RHIB. Ive tried setting a simple end game trigger which detects Blufor presence and ends the game but as this trigger is in the base it triggers at the start before the objectves are complete. Is there a way of making the detect Blufor trigger to only fire when objectives 1 to 5 are complete AND Blufor are present (back in the base where they started)? If so would someone please be kind enough to tell me how.... in very simple terms?
  18. -RIP-Tyson

    Help with mission end

    ah so if I type "this && obj1 && obj2 && obj3 && obj4 && obj5" The "This" means the drop downs above the conditions count as well as anything else I add? if so this is massively helpful to a new editor like me Will try it... thanks a lot for the help.
  19. -RIP-Tyson

    menues not opening.

    I have a problem when i double click teh map - nothing happens apart from my cursor turns green. It was working fine but then all of a sudden i try to use the editor and i cant add any units.... can anyone help please?
×