Jump to content

smoke52

Member
  • Content Count

    93
  • Joined

  • Last visited

  • Medals

Everything posted by smoke52

  1. nice i want to use it! just use rapidshare.com or filefront.com or megaupload.com until it gets hosted
  2. 1. make a trigger around the object, name it tele1 set it to "once" and "present" 2. put this in the condition: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> damage ((position tele1) nearestObject 450891) > 0.8 3. put in the on act (if you want): player addscore <score> ; "1" objstatus "done" to get that number 450891 you turn on SHOW IDs and zoom in until you see the number for all objects and put that in.
  3. smoke52

    Couple of questions

    yeah they did make it hard to find i could help though, use this command: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> unitname action ["eject",<vehiclename>]; unassignvehicle unitname eg: para1 action ["eject",helo1] for speed its: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> unitname limitspeed <speed in Km> eg: helo1 limitspeed 0 altitude is: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> unitname flyinheight number eg: helo1 flyinheight 30
  4. smoke52

    Need translator

    nice, im still trying to get past the first mission. i keep getting killed hehe
  5. smoke52

    More mission help

    im still new to scripting but ill give it a shot. the @ i think is just like a ? it tells the game you are asking a question. then you put your question next which is asking if they are alive. the ! is equal to NOT, so you are asking if he is NOT ALIVE. i think you can use not instead of !, so ?(not alive j1) check out these pages, http://community.bistudio.com/wiki/Category:ArmA:_Scripting_Commands http://community.bistudio.com/wiki....ds_List
  6. smoke52

    Need translator

    i dont know if you copied this yet for the mission, but i forgot to change a word. i left it for last because i couldnt think of a word and i forgot about. anyway i edited my post above and highlighted the word to change.
  7. smoke52

    Need translator

    done, there were only a couple spelling mistakes and a few words i switched around ////////////////////////////////////////////// OTK - Perfect Creative Collective. In OTK there are skilled mapmakers, who proved their skills in Operation Flashpoint. Continuing the traditions of OFP, the OTK team continues working in Armed Assault and now presents several missions for ArmA OTK Members: some names Thanks for the help with translation to English: some names There are five tasks in the mission, difficulty is medium. You play the role of a sergeant of the Northern Sahrani army. Mutiny in the country. The governmental armies led by rebellious generals, desire to seize power and rule the country into chaos. There are street fights between rebels and royal guards in the capital city. Lives of the king and the prime-minister are in danger. An intense mission during which,you should complete some diverse objectives behind enemy territory. In this mission you have the opportunity to change uniforms to infiltrate military objectives. You are a sniper of a diverse group deep in the enemy lines. Before the planned evacuation you receive the last order. Separate elements of difficulty are present in this mission. ///////////////////(last mission Red Factor)///////////////// STR_radio1,"FIST SPEAKING, WE SEE CORINTO, BEGINNING THE ATTACK." STR_radio2,"BASE HERE. WHY HAVEN'T YOU CLEARED THIS PLACE? DO IT NOW! SUPPORT APC GOES TO YOUR POSITION FROM THE EAST." STR_radio3,"FIST SPEAKING, ABOUT 10 ENEMY SOLDIERS, A SELF-PROPELLED SYSTEM AND AN APC ARE DESTROYED. CORINTO IS UNDER OUR CONTROL." STR_radio4,"GOOD JOB, GUYS! NOW YOU CAN BEGIN THE MAIN ATTACK." STR_radio5,"ATTENTION, FIST! OUR SCOUTS INFORM - THE TRAP WORKED. THE PLATOON OF MOTORIZED INFANTRY IS APPROACHING YOUR POSITION WITH ABRAMS SUPPORT. WORK FASTER! IF THEY RETURN AND STRIKE US FROM REAR... UNDERSTOOD?" STR_radio6,"AFFIRMATIVE." STR_radio7,"I OFFER SQUARE FH-55 FOR THE AMBUSH, IT WILL BE A SURPRISE FOR THEM. IF YOU DON'T CATCH THEM ON THE MARCH, IT WILL BE DIFFICULT." STR_radio8,"FIST TO BASE! MISSION ACCOMPLISHED, THE ENEMY BACKUP IS HISTORY." STR_radio9,"SQUAD FIST AND SQUAD HAMMER. MOVE OUT TO THE MEETING PLACE AND WAIT FOR FURTHER ORDERS. BE AWARE." STR_radio10,"ROGER THAT, WE ARE ON OUR WAY." STR_radio11,"WELL, LET'S GET TO THE MEETING PLACE." STR_radio12,"SQUAD FIST AND SQUAD HAMMER. ATTACK THE AIRPORT FROM REAR! IMMEDIATELY!" STR_radio13,"ROGER THAT! ENGAGING!" STR_radio14,"ATTENTION! SQUAD FIST AND SQUAD HAMMER! RETURN IMMEDIATELY! A LARGE ENEMY GROUP IS COMING BY THE WESTERN ROAD. YOU MUST NOT LET THEM JOIN FORCES AT THE AIRPORT. DO YOU UNDERSTAND?" STR_radio15,"AFFIRMATIVE. SOME HELP WOULD BE APPRECIATED." STR_radio16,"TWO TANKS ARE COMING TO SUPPORT YOU. STAND YOUR GROUND!" STR_radio17,"FIST SPEAKING. AIRPORT SUPPORT HAS BEEN DESTROYED, ALL THAT MOVED TO THE AIRPORT IS DOWN. DO YOU COPY BASE?" STR_radio18,"THE GOOD THING IS THAT YOU ARE NOT DOWN. NOW ATTACK THE AIRPORT!" STR_radio19,"WEDGE SPEAKING. IT IS GETTING HOT AT THE AIRPORT, AND HERE COMES THE ENEMY SUPPORT. WHAT THE HELL IS TAKING YOU SO LONG, HAMMER?!" STR_radio20,"HAMMER, FIST, YOU HAVEN'T COMPLETED YOUR OBJECTIVE! FINISH UP AND MOVE OUT TO THE AIRPORT. AND DO IT FAST!" STR_radio21,"OK BASE, WE ARE GOING TO THE AIRPORT." STR_radio22,"WEDGE SPEAKING. THE AIRPORT IS UNDER OUR CONTROL. BRING US SOME COLD BEER TO THE AIRPORT!" STR_radio23,"GOOD JOB, GUYS! WE'VE GOT ROOT BEER FOR TODAY." //////////////////////////(briefing)/////////////////////////// This morning the Western grouping of the Northern Sahrani forces solved the important problem. The main target is the city airport of Paraiso. Your objective is to destroy all enemy forces and take the airport under control. There are also a few secondary targets, but nonetheless important objectives. You have to attack the village of INTO, the enemy will be forced to call backup from the airport. That will ease the mission of the main forces attacking the airport. After the enemy backup leaves the airport and comes closer to you, the main forces will begin the attack. Depending on the situation, you may get ordered to destroy the enemy reinforcements left in Into. After completing this objective, you will have to go around behind the city of Paraiso and attack the enemy in the airport together with squad Hammer, thus encircling the airport, but you have to make it fast! Your objective is to attack the village of INTO, distract a part of the enemy forces from the airport.(Details) 1)Eliminate all enemy forces in INTO. You should do it as soon as possible, before the enemy backup arrives. 2)Ambush the enemy backup from airport in square FH-55, or accept the open fight. The enemy must be eliminated! 3)Go to the meeting place and go around the dangerous spot. 4)Prevent the enemy forces from joining! Don't let the enemy group into the city! The enemy will come from the west, arrange them a hot meeting! 5)Support the attack on the airport from the south. All enemy forces must be destroyed! Do not take captives! MISSION ACCOMPLISHED The airport is taken! The democrats will not bother us any more! MISSION FAILED Your awful commanding ruined the operation. MISSION FAILED You have left the combat zone abusing the order.
  8. smoke52

    More mission help

    yeah i forgot to mention the code i had in each of the trigger's init lines that execs those scripts. they are all like this (below), but the last number (6 in the example below) is changed so those triggers only start exec'ing the scripts when a few are left. <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> abs(EAST countside list triggername)<6 someone already helped me with that part
  9. smoke52

    Need translator

    third mission - "Unfinished business". both - stringtable and briefing /////////////(stringtable)///////////// /////////////(intro)/////////////////// -Allah Akbar... -Hmm... Looks like rain... -What? -No, nothing... Well, whats command say? Tomorrow we leave? -Not certain (or sure). We still have some unfinished business. ////////////////////////////////////// -Hear to an air [hear enemy radio. this is action] -Mountain area, Sahrani [or Mountainous area of Sahrani] /////////////(waypoints)/////////////// -Clear the first post (or outpost) -Clear the second post -Take position -Reach the evacuation point -Find and board a boat -Leave island /////////////(group names)/////////////// MARKSMAN OBSERVER BASE BIRDY /////////////(radio)/////////////// -Oleg, attention, a boat is incoming to the harbor! Estimated time - 5 minutes. -Base, Marksman speaking. The objective is complete. -Marksman, understood. Move to the evacuation area. (or evacuation point/site/spot) -Marksman, I can't land in this area (or land here)... I will land nearby. (or ...nearby over there) -We are being lit up! They are launching a stinger, evade!! -Rocket! Were going down! (or "Were hit! going down!") - not sure if "rocket" is meant to be said -Hi, about time you got here (or it took you long enough or I've been waiting forever). The helicopter is on approach. -Post (could also be "outpost") Three, this is Papa Bear, reporting in! -Post Three, all clear! -Post Two, this is Papa Bear, reporting in! -Post Two, do you copy? I repeat, post Two, report in! Damn, what's going on? -Base to Marksman! Get off the island by boat. It is your only chance! -Affirmative, Base. -Base, Marksman here. Objective?... The target has left. -Damn! Marksman, go to the evacuation point! -Oleg, the general has arrived in the city. -Oleg, the general plans to leave. Hurry! -Oleg, he is sitting in the car! Do something! If he leaves - we won't get another chance! /////////////(briefing)///////////// /////////////(notes)//////////////// Today the encrypted messages were decoded and we need to act. the General of the NATO land/air forces is in the region and is planning to stop in our area of island. If we manage to kill him, we will cripple the opponent for some days, and it would be a very big turning point in the course of this war. The commander will arrive at the port and will visit inside the city. At this particular time his assassination will be the optimal time to perform your task. It is necessary to remember the fact that the district is patrolled by groups of NATO forces and in case of noise they will search the immediate area. Therefore it is necessary to be as silent as possible to avoid detection. /////////////(plan)///////////////// Your main purpose - assassinate the head of NATO command, General Kellivan. Today he will arrive at the port and will visit the city. The optimum time to liquidate him is in city. However it is necessary to remember, that he will not stay there for long and plans to leave and travel deeper inland along the roads. If he leaves - he will escape and you wont get another chance. Your other objective is to clear out the two posts (or outposts) of air defense to secure your safety for evacuation. Remember that forces of NATO have strengthened their patrol areas, therefore try to be as small as possible to keep out of sight. If you get noticed by the enemy, they can and will call artillery salvos on your position. /////////////(General Kellivan)///// Name: James Kellivan Rank: General The head of NATO. Even in field conditions he wears his battledress (or uniform) with all regalia and the varnished boots. You can easily identify him from the others by the uniform. /////////////(tasks)//////////////// 1)Clear the first post (or outpost ) of air defense. 2)Clear the second post of air defense. 3)Kill the head of NATO land/air forces, General Kellivan. 4)Arrive to the evacuation point and leave the island by helicopter. 5)At the coordinates Fb35 a boat will be waiting. Reach it and leave the island! /////////////(debriefings)////////// MISSION COMPLETED I congratulate you! (or Congratulations!) Occupation of the island by Americans will be crippled for some time! MISSION COMPLETED We have lost the helicopter, but nevertheless you still completed your task assigned to you. I congratulate you! MISSION COMPLETED A miracle has happened! Our helicopter was not brought down! (or shot down) MISSION COMPLETED Because of your carelessness we have lost the helicopter! The only thing that rescues you from the tribunal is the contribution you have made today in this war, having completed your primary objective. MISSION FAILED You tried all for nothing and missed a unique opportunity! MISSION FAILED Not only have you allowed the general to leave, your careless actions lost the helicopter! You will go under the tribunal, even in spite of the fact that you have destroyed their air defense. It does not save you from your other actions! MISSION FAILED You did nothing! You will go to the tribunal!
  10. smoke52

    Need translator

    if anyone wants to jump in, or write my stuff better, or write your own translation be my guest, i dont mind <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">Where did you get this gun?" correct ill try again on this: Look at this asshole, what a sorry excuse for a Sahrani solider, he would never pass as a US solider. or ...pass as a solider of the US army. Well, I will be around here. or "Well, I will be nearby here" or "Well, I will be driving nearby here" or "Well, I will be nearby this area" or Well, I will be driving between this area or I will drive around here works too CORMORANT 1, YOU ARE CLEAR FOR TAKEOFF. [or CLEAR FOR TAKEOFF] ================= -DEVELOPED BY (or MISSION DEVELOPED BY): SANSEY -HAVE TAKEN A HAND, AND ALSO SOUNDED: [if Sansey did this aswell put just MISSION AND VOICES DEVELOPED BY: Sansey [or DONE BY if someone else did the voices and mission help with Sansey then put MISSION CREATION AND VOICES ALSO BY: person] //////////////////////////////////////// Ok, and this is briefing from "Chameleon". As they say "have fun" :):) ///////////////(notes)///////////////// I am a very lucky man... The last of three Russian military advisers (or I'm whats left of three Russian...) on this island, and I have to prepare to carry out a similar operation by myself. (you can remove "by myself" if its too long of a sentence). Some odd (or peculiar or goofy) looking member of the staff has planned the operation, so I will approach (or will be approaching) the objective in the morning. He said, that in the morning the soldiers are sleepy and unsuspecting... Which means I'm going to have to borrow a uniform, so that I don't alert these assholes and draw attention to myself. Theres a shed near the runway which looks like a good spot, and it's detached, so I will have to try and act unsuspecting until I can infiltrate inside. When I get (or When I'm) somewhere safe I'll change clothes. The main thing is to act naturally, and don't attract any attention: do not rush into the base like a crazy man, do not show your Russian weapon, do not pawn explosives near any natives, he-he... By the way you do not have enough explosives - only three complete sets - which is only good for three tanks. I will also need to sabotage the control nuts on the planes. The royal pilots are training in them all time, so I can kill two hares with one wrench (or kill two birds with one wrench since birds and jets fly, and i'm sure Americans are familiar with the "kill two birds with one stone" saying ) - Their planes and infantry force. If the base gets alerted (it is quiet enough in the morning silence to hear just one shot), flights will stop for certain. Well, just while they are alerted I think. All right, good luck... //////////////(Plan)/////////////// At your discretion you have three Objectives + its not bad to return alive. (Details) 1)Kill the American military adviser. 2)Blow up three tanks. [or "Destroy three tanks"] 3)Destroy two planes. [or "sabotage two planes" if you don't plant explosives on them] 4)Go to evacuation point. //////////////(Details)/////////////// According to the investigation of South Sahrani Armed forces they have purchased two fighter-bombers of "Harrier" class (or two fighter-bombers known as the "Harrier" or two "harrier" fighter-bombers) and 3 M1A1 "Abrams" heavy tanks, made in the USA. Also Americans have given them instructors, for training their men. The delivery of these aircraft show the (or give them full...) full air superiority of the royal forces on island. Therefore command has made the decision to carry out this operation and return the control over to our forces. You will be inserted to the place of operation by a landing boat. At your insertion point you will meet up with an agent. Give him the secret password and he will deliver you to the airport by car. The agent will drive around Chantiko-Paraiso so he doesn't attract any attention. After you complete the task you should wait for him at a (or the if the player knows where the meeting point is) meeting point. The agent must survive. We know the following about the military base near the airport : Garages for their armor is located here. The American advisers and the instructor are deployed here. The barracks are here. Most of the patrols and guard posts keep a constant radio link with each other, so it is necessary to only open fire as a last resort. You only have three explosive charges for destruction of the tanks (action will appear when you approach close enough to the tanks). After the tanks are destroyed the alarm will raise, therefore it is better to carry out this task last. We have the schematics of the planes, and found that the bombers can be destroyed by twisting a secret control nut under the fuselage. If you are successful they will collapse in the air the next time they try to fly. In case of an alarm all flights will be stopped and the base will be on high alert. In this mission it is necessary for you to stay in the zone of operation until utter annihilation of the planes. Do not let unforeseen dangers interfere with your mission ([Though all base shoot down - not sure what this means], but all the objectives should be complete). In case you manage to change clothes into a trophy (or officers or high ranking) uniform, keep in mind, that the guards will be alerted to the Russian manufactured weapon in your hands. Also do not forget, that the weapon with the silencer is unlawful to everyone, except for the special forces. To hide PM with the silencer in a holster find a US rifle you can use. For example pick up a standard M16 or MP5.
  11. smoke52

    More mission help

    thanks these works nicely and the setmarker size gave me an idea Also, you can wrote in init of object (hint format ["%1",getpos this]), then start mission and you can see coordinates... In any case you need command - getpos. [getpos object_name select 0,getpos object_name select 1,getpos object_name select 2] getpos object_name select 0 - x coordinate of object_name getpos object_name select 1 - y coordinate of object_name getpos object_name select 2 - z coordinate of object_name cause im a newb still
  12. smoke52

    More mission help

    thanks for the suggestion ill check that command out. right now i figured out a way to have the trigger and end it when objective 2 is done, but the only problem is if the person just happens to walk into the trigger area, like exploring the base before he goes out and completes objective 2 the game will end right away. if he doesn't explore first then my mission works fine anyway these are my three scripts, maybe you could tell me what i could change? :b objective1: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">abs(EAST countside list enemyleft)<=5; goto "chkenemy" #chkenemy ~2 ?(abs(EAST countside list enemyleft)<1):goto "alldead"; ?(abs(EAST countside list enemyleft)<6):goto "fewenemyleft"; #fewenemyleft ~33 hint "The UAV is reporting enemy troops still in the vicinity."; echo "The UAV is reporting enemy troops still in the vicinity."; goto "chkenemy" #alldead ~2 hint "Paraiso is clear, Good Work! Return to base."; echo "Paraiso is clear, Good Work! Return to base."; player addscore 200; "1" objstatus "DONE"; goto "end" #end exit objective2: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">abs(EAST countside list convoy1)<=1 goto "chkenemy" #chkenemy ~2 ?(abs(EAST countside list enemyleft)<1):goto "done"; ?(abs(EAST countside list enemyleft)<3):goto "chkenemy"; #done "2" objstatus "DONE"; player addscore 300; "3" objstatus "ACTIVE"; hint "Secondary objective destroyed! Return to base and report to the officers or proceed to the next objective."; "marker1" setmarkerpos getpos marker2; "marker1" setMarkerText "Target of Opportunity" "extract1" setmarkerpos getpos extract2; "extract1" setMarkerText "Return to officers"; goto "trigger" #trigger exit1 setTriggerActivation ["LEADER", "PRESENT", true] exit1 setTriggerType "end1" exit1 setTriggerTimeout [2, 4, 3, false] goto "end" #end exit objective3: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">abs(EAST countside list too)<=0 goto "chkenemy" #chkenemy ~2 ?(abs(EAST countside list enemyleft)<1):goto "end"; ?(abs(EAST countside list enemyleft)<2):goto "chkenemy"; #end "3" objstatus "DONE"; player addscore 500; hint "Nice work! Report back to base." exit
  13. smoke52

    More mission help

    yeah that works nicely, thank you! im still having trouble with the end mission. the obj1 and obj2 (or obj1 && obj2) dont seem to work no matter what i do. once i take that code out it works no problem
  14. smoke52

    Need translator

    cool ill check that mission out. heres the other part. theres a couple spots im not sure what was meant. i also gave a couple different things to say for some lines so everything underlined could be a different way to say it. "Operation Chameleon" /////////////////// -Don't shoot! -Where are you going so fast? [or where are you running too?] -Did you swallow your tongue? -Hold him! [or Grab him!] -Hey, is that a weapon? [or "Hey, he has a weapon", or "Hey, whats this?"] -What did you do? -Furthermore it is impossible for assholes like Zasrani [or you], to Pass as a soldier of the US army. [i take it the player is trying to pose as a US solider but hes Zasrani and the guards are saying he makes a bad looking US solider?] -[Migel, look as I can. - not sure what this is? did he see the girls?]if yes, "Migel, check these ladies out." or "<u>Migel, check that out</u>" if they are looking at something or "Migel, check this out" if he has something in his hand or inspecting something -That's cool, dude. -Well, what do you want? -Good morning, girls! -Wheres your senior? [ or "Where is your boss?", or "Where is Sanchez?", or "Where is Captain Sanchez?"] -His excellency captain Sanchez is at his house smoking marijuana [or "weed"]. He asked to transfer, and said [or requested] to begin without him. -Shit, [a savages - not sure what this means, is he calling sanchez a savage? if so i would say Shit, a pothead...well alright girls, let's begin. or Shit, a savage...well alright girls, let's begin.] -Where are you going? Only pilots have admission to the planes. -Tell me please, how many degrees above zero is it? -All right, dont get all philisophical. Get in the car. -Well, I need to go nearby here. [or Drop me off near here] -What, are you going to snoop around there? [or What, are you going there to spy? or snoop] -Uhh, thanks, brother. Let's get out of here. -...on the river, on the river, on that bank... -Hey, Mik! I'm going for a walk. -Take a radio. -What for? What can happen? //////////////// -ALARM! ALARM! -THE INTRUDER HAS BEEN SPOTTED! -ALARM! SOMEONE BLEW UP POST 3! -CENTRAL, PERMISSION TO TAKE OFF. -CORMORANT 1, I'M TAKING FLIGHT. [or I'M OFF THE GROUND.] -CENTRAL! I'M HAVING SOME MALFUNCTIONS IN THE LEFT ENGINE!!! ///////////////and at last some hints: -Plant explosives -Detonate explosives -Make sure they are close to the tanks... or they wont detonate... -Change clothes -Pull out PM -Hide PM -Guards are searching for a suspicious soldier in a hat -Guards are searching for a suspicious marine -Guards are searching for a suspicious pilot -Turn off control nut -You are leaving the operation zone, [or "You have left a zone of operation"], I order you to return... [or "return to battle solider"] -You ran away [or "You left the mission area"], mission will fail in 10 seconds -Agent has died, mission will fail in 10 seconds -After 10 minutes. [not sure what these below mean?] -MISSION HAS DEVELOPED: SANSEY -HAVE TAKEN A HAND, AND ALSO SOUNDED:
  15. smoke52

    More mission help

    thanks alot flat!!!
  16. smoke52

    Need translator

    heres some corrections/my take on some of the lines /////////////////////////////////// Damn! It wasn't enough...There was a revolution in the country. The military wish to seize power and it will be possible if we do not intervene and rescue them from the city - King Gustav-VI and prime minister Elbrajda. All of the staff are behind you. We stand together. God helps us all... /////////////////////////////////// You will be inserted with your squad by helicopter on the outskirts of the city. Abram tanks will support your push. 1)Enter into the city. Abrams will give you support. 2)Move ahead to the US Embassy. 3)Rescue the king and prime-minister from the city. 4)Deliver them to the evacuation point. MISSION COMPLETED Congratulations soldier! MISSION FAILED You will going to the tribunal for this! /////////////////////////////////////////
  17. EDIT: well this script did the trick. thanks alot! leave this in case anyone else needs it --------------------------------------- thanks for your help trixta, so you mean my script file should look like this: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> abs(EAST countside list enemyleft)==5; goto "chkenemy" #chkenemy ?(abs(EAST countside list enemyleft)<1):goto "alldead"; ?(abs(EAST countside list enemyleft)<6):goto "fewenemyleft"; #fewenemyleft ~3 hint "The UAV is reporting enemy troops in the vicinity."; variable = text "Recon reports a few enemy soliders still in the town."; goto "chkenemy" #alldead ~3 hint "Town is clear!"; variable = text "Paraiso is Clear, Good Work!" goto "endscript" #endscript exit then i make a trigger, name it enemyleft, put this in the condition line: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">abs(EAST countside list enemyleft)<6 and this in the on act line: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">[] exec "alive.sqs" ??
  18. Hello, this is my very first mission for Arma, i have tried making missions for OpFlash a long time ago but havent tried since and im in need of a little help. heres a little overview, start off at base, take a vehicle and repel an attack, when complete return to base and get in a heli or jet and take out a convoy. then theres a third objective i want to be hidden until they complete both objectives. heres what i need help on. i want it so when the player enters the town he sets off a trigger which checks if theres any enemy left in the town, because theres 30 guys its sometimes hard to tell if they are all dead. if there are guys alive it will hint to the player theres more alive. if possible i would like the script to count the enemies and if theres 5 left then start hinting to the player. now i tried making this script by reading some tutorials, but obviously its wrong because it doesnt stop hinting. im thinking the game is checking the whole map for enemies?: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">if (alive _enemy) then {goto "wait"} else {goto "dead"} ;check if squads are alive #wait ;wait 30seconds before display text ~30 #alive ;display text hint "The UAV is picking up more enemy troops in the vicinity" echo "The UAV is picking up more enemy troops in the vicinity" variable = text "The UAV is reporting more troops in the town" ~3 goto "wait" #dead ;display text hint "The town is clear!" echo "The town is clear!" variable = text "Town Cleared!" exit now i tried messing around and changing the code, like attempting making an array and naming all 30 soliders with individual names, but nothing worked and i dont have a clue how arrays work. can someone help me out with this? <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> _array = [town1, town2, town3,....town30] if (alive _array) then {goto "wait"} else {goto "dead"} another question is with the hidden objective, how do i make it so it comes up when objective 1 and 2 are finished? i have the objective hidden in the init.sqs, is that all i need to do? thank you!
×