Wrecking Crew Posted June 4, 2013 Posted June 4, 2013 How best to add a comment in an event trigger? Is there a method to add a comment? Be nice to have a Comment window at the bottom of each event. I tried to add a Message To All (0) but it did not like the zero seconds and changed that to '1'. --- I suggest a Message with a zero seconds to be used as a Comment. WC Visit the Hollo Pointe DCS World server -- an open server with a variety of COOP & H2H missions including Combined Arms. All released missions are available for free download, modification and public hosting, from my Wrecking Crew Projects site.
Grimes Posted June 4, 2013 Posted June 4, 2013 Do Script and comment each line out... or start it as... --[[ INSERT COMMENT HERE ]] Or just name the trigger something that makes the most sense. The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
Wrecking Crew Posted June 4, 2013 Author Posted June 4, 2013 (edited) Grimes - Thanks - I made some Event separators with names like - --- Blue Section --- .. --- Red Section --- .. ^^^ And these have Action -> Do Script -> <same as below> For a particular existing Event I am adding an Action -> Do Script -> --[[ Comment - followed by any comment. ]] ^^^ This follows a Group Activation Action. I *assume* both Actions will work together on the same Event - a Group Activate and a Do Script. WC Edited June 4, 2013 by Wrecking Crew Visit the Hollo Pointe DCS World server -- an open server with a variety of COOP & H2H missions including Combined Arms. All released missions are available for free download, modification and public hosting, from my Wrecking Crew Projects site.
Wrecking Crew Posted June 5, 2013 Author Posted June 5, 2013 This Do Script approach is not the best. How is anyone to know? There should be a Comment block below each event. A Message with Time (0) Action would be a good, easier to implement solution from a code standpoint, me thinks. WC Visit the Hollo Pointe DCS World server -- an open server with a variety of COOP & H2H missions including Combined Arms. All released missions are available for free download, modification and public hosting, from my Wrecking Crew Projects site.
Recommended Posts