Jump to content

irisharmy

Member
  • Content Count

    12
  • Joined

  • Last visited

  • Medals

Community Reputation

1 Neutral

About irisharmy

  • Rank
    Private First Class
  1. Hi guys, I've been having trouble over the last few days trying to make a trigger carry out the below and though I have received alot of help, Im still confused as it seems like a few bugs might be complicating the problem and Im still not getting it to work. I have a mission where there are 3 factions - West (Specops) whose group leader is named bluman. East (Terrorists) whose group leader is named terman and Civilians ( who have 2 groups - Mercenaries and Hostages). Group leader of mercenaries is named mercman and group leader of hostages is named man. #################### I need a trigger (may be easier to be split into 3 triggers), that covers the whole map, for the following events: If there are no West or East alive and at least 1 Mercenary or Hostage alive - play song and call an end game script I have made. If there are no Mercenaries or East alive and at least 1 West alive - play song and call an end game script I have made. If there are no Mercenaries or West alive and at least 1 East alive - play song and call an end game script I have made. #################### I have ran into many errors including a bug that restricts my use of the Civilians side condition for specifying Civilians alive or dead e.g. {side _x == civilian } count thislist > 0, or {side _x == civilian } count thislist == 0 . As the game also groups ambient life such as snakes and rabbits as 'civilian' and so it triggers if they are in the trigger zone. So to combat this I tried to specify alive or dead conditions by using the name of the leader of any group e.g. {_x in thislist} count units group terman == 0, or {_x in thislist} count units group mercman == {alive _x} count units group man. But with this I have ran into more problems. For example, in a test scenario where all West are dead, mercenaries are alive and I am the last East player left. If I enter a vehicle - the system thinks I am dead and triggers the 'Civilians win' trigger. So as you can see I have been trying to fix this for a few days and would appreciate if anyone knows a possible solution! :confused: Thanks!
  2. The trigger that fires is the last one - (At least 1 Civilian (hostage or mercenary) alive and all specops and terrorists dead). Even though when i was playing there weren't any civilians and the triggers condition is for at least one civilian.. Also it fires when i get into a vehicle ... I was playing as a terrorist, and this was online without any AI. Terman is the name of the leader of terrorist group so its correct as far as i know. Maybe i should use the not alive in list function ?
  3. Hi one last thing. Im making three seperate trigger scripts to cover the whole island for the following events. Do these triggers look right ? At least 1 terrorist alive and all specops and mercenaries dead: {side _x == west } count thislist == 0 and {_x in thislist} count units group mercman == 0 and {_x in thislist} count units group terman > 0 At least 1 Specops alive and all terrorists and mercenaries dead: {side _x == west } count thislist > 0 and {_x in thislist} count units group mercman == 0 and {_x in thislist} count units group terman == 0 At least 1 Civilian (hostage or mercenary) alive and all specops and terrorists dead: {side _x == civilian } count thislist > 0 and {side _x == west } count thislist == 0 and {_x in thislist} count units group terman == 0 Because when I hosted the server online and tested it with just myself playing, no AI or anyone else, the moment i got into a car, the civilian end game trigger initiated ?
  4. Got everything working finally :D Heres the code for the terrorist end game trigger : (boat1 in thislist or boat2 in thislist or heli1 in thislist) and {side _x == west } count thislist == 0 and {_x in thislist} count units group mercman == 0 and {_x in thislist} count units group terman > 0 Thanks alot for the help ! :D
  5. Do you know how to make the trigger where blufor and hostages in trigger but no opfor or mercenaries in trigger ? If I can get this i'm almost done as I have got all the mercenary/hostages triggers working flawlessly.
  6. Yeah that worked great F2k I have setup the end game triggers for all civilian and spec ops. Also was wondering can i add a condition to the same trigger where there must be no opfor in the trigger before the game ends. Finally do you know how to make a trigger for a ship/heli present ? Thats a great help to me so far so thanks for that !
  7. Yeah its still not working ... very strange. so are you saying that 'player' represents blufor just as 'man' represents hostages ?
  8. do you have a steam name so i could add you ? would appreciate it ! should the trigger not specify blufor and civilian(hostage) ? i dont see where in the code it specifies between them 2 and how it could therefore end the game when both blufor and hostages are in the trigger. just a reminder the hostages and mercenaries are two groups of the faction civilians. as i said it would be handier if i could talk to you over steam !
  9. and do i need to replace any of the player 'group' code with blufor or civilians ? Im not getting anything to happen. I have created a trigger with this code: {_x in thislist} count units group player == {alive _x} count units group player and {_x in thislist} count units group man == {alive _x} count units group man the type is set to end #1. the activation is set to None. the part below is set to once and below that is set to present. i have made one hostage a sergeant while all the rest are privates and i have typed 'man' in the sergeants name field. all blufor and hostages are place in the trigger and nothing is happening. Do you have a steam name so i can add you now and maybe you could aid me on the steam text if you like ?
  10. can you tell me exactly what to put into the condition box or wherever the above code goes as im not familiar with php and dont understand the above code.
  11. okay above post might put people off because of its length :) .... simply i need 1 trigger to end game if all alive bluefor and all alive hostages enter the trigger zone and if there are no terrorists or mercenaries in the trigger zone. i need a trigger to end game if either a Heli or HMG Boat are in the trigger zone and no bluefor or mercenaries are in the trigger zone. i need a trigger to end game if all alive civilians are in the trigger zone and there are no bluefor or terrorists in the trigger zone. simple ! :p
  12. Hi guys, Im writing a hostage rescue mission and I have everything finished except for 3 final scripts to end the mission. I will post the briefing of my mission so you will understand how it works then i will tell you how i need it to end. Briefing : Aim of the game is simple. There are 3 factions - Bluefor (Spec Ops) , Opfor (Terrorists) and Drug Dealers (Hostages and Mercenaries). Mercenaries want to rescue hostages as they are friendly associates in a local drugs gang. Bluefor want to capture and interrogate the hostages for information related to their activity. Terrorists want to obtain better equipment i.e. a Helicopter / Armed boat / NLAWs . With this said, all factions can negotiate on terms in order to trade or join forces. If Bluefor captures and secures all existing hostages to any of the local safe zones (Blue Flag) - They Win. If Terrorists obtain and secure a Heli / HMG Boat / Boat with 2 NLAWS back at their base - They Win. If Mercenaries rescue all existing hostages and get them to a local drugs safehouse (Green Sign) - Drug Dealers Win. The Blue Flag represents Spec Ops, the Green Icon represents Drug Dealers and the Black/Red Iran army flag represents Terrorists So as you can see above, I will need to make 3 triggers for the 3 different ways the game can end. 1st : If Bluefor captures and secures all existing hostages to any of the local safe zones (Blue Flag) - They Win. I need to make a trigger so that if all remaining bluefor and all remaining hostages enter the trigger zone and if there are no terrorists or mercenaries in the trigger zone - the game ends. 2nd : If Terrorists obtain and secure a Heli / HMG Boat / Boat with 2 NLAWS back at their base - They Win. I need to make a trigger so that if either a Heli / HMG Boat / Boat and 2 NLAWS are in the trigger zone - the game ends. Also the trigger must ensure that no bluefor or mercenaries are in the trigger zone i.e its secure. 3rd : If Mercenaries rescue all existing hostages and get them to a local drugs safehouse (Green Sign) - Drug Dealers Win. I need to make a trigger so that if all remaining civilians are in the trigger zone and there are no bluefor or terrorists in the zone i.e its secure - Civilians win. Ok thats it . If you guys could help me with this it would be absolutely great as it will really complete the mission. Without these triggers there is no finality to the game.
×