Tumbleweed Posted October 29, 2014 Posted October 29, 2014 Hi, I think I'm posting in the right place - if not, please forgive me. Anyway, I'm having ALOT fun using Combined Arms and now I want to create a simple single player mission of my own. It's all going good except I've now started to add scripted events and I'm a little unsure of how to do what I want. Basically the scenario I'm building is this:- A group of tanks have become seperated from the rest of their unit and must battle their way through a now occupied town to regroup with the rest of their force. Massively outnumbered, the commander of the cut off group has decided to run the gauntlet and go for broke. Where I'm at:- So far I'm happy with my layouts, all the units I've addded and their positions etc. I've made it so that the human player can only control the isolated column of tanks and have played the mission through along the way and am happy with how it runs but obviously I'd like to add some scripted events. The two I'm stuck with at the minute are start and end zones. I'd like it so that as the player drives through the start zone, it triggers a text message on the screen. Something along the lines of "From Commander of Russian Forces: Wishing you the best of luck, see you on the other side. Then when a player makes it through the town to his main unit, it triggers a message and signals the end of the mission. What I've tried:- I've added two trigger zones. StartPoint and EndPoint. In the trigger menu, I've set them up as trigger once when take control thinking they will only trigger when a unit is in that zone but it seems I am wrong. For the StartPoint I've set this:- 1 ONCE (StartPoint, On Take Control - MESSAGE TO COALITION(Red, message, 10) I've done something similar with the EndZone but the action is set to end mission declaring the reds the winner. Unfortunately, the first time I started the mission, it immediately ended having met the endzone criteria of Take Control ????? Guess I'm doing it wrong. I'm hoping that some kind soul can point out my error :thumbup: Many thanks, My Hangar: P-51D Mustang - KA-50 Blackshark - A-10C Warthog - F-86F Sabre - FC3 - Combined Arms - UH-1H My Flying Adventures: www.dcs-pilot.com :pilotfly:
Tumbleweed Posted October 29, 2014 Author Posted October 29, 2014 Think I may have solved it though I'm not sure it's correct but it does do what I want. I've changed the trigger to NO EVENT as opposed to ON TAKE CONTROL and have added the condition PART OF COALITION IN ZONE (red). This seems to trigger the on screen message nicely with just my tank passing into the StartPoint. There is one issue however and that is the message displayed is now cluttered in amongst the indicator at the top of the (hud) screen and sits on top of it. Can anything be done to make the message more prominent and moved away from where it currently pops up?? My Hangar: P-51D Mustang - KA-50 Blackshark - A-10C Warthog - F-86F Sabre - FC3 - Combined Arms - UH-1H My Flying Adventures: www.dcs-pilot.com :pilotfly:
Fourpoints37 Posted October 29, 2014 Posted October 29, 2014 I am not an expert but try this. Create two trigger zones, (1. Message to Tanks, 2. End Mission.) Now you need two triggers. 1. Type= 1 once, no event. Condition= Part of Group in Zone, name group, name trigger(Message to Tanks). Action= "message to Group", name Group, Type your message in the box, set how many seconds you wish for the message to appear. 2. Type= 1 once, no event. Condition= (either) All or Part of Group in Zone, name group, name trigger(Mission End). Action= "End Mission", Pick winner, type message. Hope this helps you.:thumbup:
Recommended Posts