snkman 351 Posted January 14, 2007 Hi Guy's, well i'm right now on making a mission and i need to know two things to continue... 1. I have 3 Town's on Sahrani Island, where i heve placed enemy Troups i like to show " Object Done" for every of the 3 Town's when every enemy unit in the Town's is killed. So after 1. Town is cleared: Object 1 Done. 2. Town cleared: Object 2 Done 3. Town cleared: Object 3 Done After the Town's Object's are finish i like to show the last Object on the Island Vassal and Island Vida so the Object Island Vassal and Vida should be hide until the 1. 3 Object's cleare the 3 Town's is finish. 2. I have two Hostages on the Islan you have to rescue. I also like to have a object done after someone of my team got the Hostage and returned with them to the Base. ( 1 Object done for every Hostage ) To rescue the hostage i use a trigger playced on the Hostage's with: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">Condition: hostage1 PlayerName in this list On Active [Hostage1] join group PlayerName; <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">Condition: hostage2 PlayerName in this list On Active [Hostage2] join group PlayerName; Well it would be really nice if someone could help me with this or if someone knows a better way plz just let me know. Share this post Link to post Share on other sites
Scillion 0 Posted January 15, 2007 OK, thats a lot of stuff: Quick and easy for the towns. Make 3 triggers, one for each town. Make sure the radius covers the whole town. In the trigger set Activation to OPFOR and Not present. In the On Act. section <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> "1" objstatus "done" The number is "1" is the number of the objective. Then put a message Hint "whatever". Or use the effects area to send a text message. Type = text. Ok, if you want to hide a marker on the map until all three towns are taken then. Start by putting this in you init.sqs file. <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">"name of marker" setmarkertype "empty" "4" ObjStatus "HIDDEN" "5" ObjStatus "HIDDEN" This hides the Marker and the Objective number 4 and 5 in your game. Ok, you need a way to know when all three towns are taken. Add a little code to the On Act. section of each trigger. 1st trigger. a = true 2nd trigger. b = true 3rd trigger. c = true Make a new trigger, in the condition section put: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">a and b and c in the On Act. section: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">"name of marker" setmarkertype "flag"; "4" objstatus "Active"; "5" objstatus "active";Hint "You have a new object ect...." Make a good message to describe the new objective(s) As far as getting the hostages to follow you I'm not sure off the top of my head. Maybe someone else can help you with the rest. Share this post Link to post Share on other sites
snkman 351 Posted January 15, 2007 Hi Scillion, thank you very much for your strive Yes it's really a lot of stuff, but yesterday i looked around about 4 - 5 hours and could find nothing about it. But now i have a way Thank you Scillion!!! Well now to my other question: I was thinking about it again. Well i like to have a West Offizier in an East Base as Hostage ( Is this possible ) cuz as soon as the east Soldiers see the Offizier in the East Base they start shooting on him... But he should not be killed cuz he is the Hostage! Next this mission is a COOP so i have 3 Team's with 11 Players now everyone should rescue the Hostage not only me... So everyone from the 33 Players should be able to get the Hostage? How can i do this...? Share this post Link to post Share on other sites
10-78 Duke 0 Posted January 16, 2007 Well now to my other question:I was thinking about it again. Well i like to have a West Offizier in an East Base as Hostage ( Is this possible ) cuz as soon as the east Soldiers see the Offizier in the East Base they start shooting on him... But he should not be killed cuz he is the Hostage! Use the setCaptive command: WIKI: setCaptive command Share this post Link to post Share on other sites
snkman 351 Posted January 16, 2007 Nice!! I did not know that command... Thank you very much 10-78 Duke for your help. Just one step more and i have everything i don't know... Last thing i like to know: Quote[/b] ]My mission is a COOP so i have 3 Team's with 11 Players now everyone should rescue the Hostage not only me...So everyone from the 33 Players should be able to get the Hostage? How can i do this...? Share this post Link to post Share on other sites