mwd2 Posted September 17, 2012 Share Posted September 17, 2012 Is there an option (maybe lua script) to read out the value of a FLAG and use the number to count points? Example: i) I increase the value of FLAG 250, everytime a situation (trigger) go activate - WORKING! ii) every 10min. i will check the value of FLAG 250 - NO PROBLEM! iii) FLAG 250 has a value 23 --> Message to all (Blue has 23 points) - PROBLEM Playing: F-16C Intel i7-13700KF, 64GB DDR5 @5600MHz, RTX 4080 ZOTAC Trinity, WIN 11 64Bit Prof. Squadron "Serious Uglies" / Discord-Server: https://discord.gg/2WccwBh Ghost0815 Link to comment Share on other sites More sharing options...
Druid_ Posted September 17, 2012 Share Posted September 17, 2012 If I remember correctly there is an option to check if the value of a flag is > x so use, once -> flag 'number' greater than 22 -> action. i7-7700K : 16Gb DDR4 2800 Mhz : Asus Mobo : 2TB HDD : Intel 520 SSD 240gb : RTX 2080ti: Win10 64pro : Dx10 : TrackiR4 : TM Warthog : ASUS ROG SWIFT PG348Q Link to comment Share on other sites More sharing options...
mwd2 Posted September 17, 2012 Author Share Posted September 17, 2012 yes, but you don`t get the current number, if you want to check every 10min for the number and display intermediate result.... and of course the end result after 60min. or 120min. playtime. Playing: F-16C Intel i7-13700KF, 64GB DDR5 @5600MHz, RTX 4080 ZOTAC Trinity, WIN 11 64Bit Prof. Squadron "Serious Uglies" / Discord-Server: https://discord.gg/2WccwBh Ghost0815 Link to comment Share on other sites More sharing options...
Grimes Posted September 17, 2012 Share Posted September 17, 2012 Lots and lots of "Flag = x> Message: Score = X" triggers is about the only way you can do it. 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 Link to comment Share on other sites More sharing options...
mwd2 Posted September 18, 2012 Author Share Posted September 18, 2012 Okay, i see. Now i give the points out, if a Flag reach 15, 30, 45 points and soon.... Playing: F-16C Intel i7-13700KF, 64GB DDR5 @5600MHz, RTX 4080 ZOTAC Trinity, WIN 11 64Bit Prof. Squadron "Serious Uglies" / Discord-Server: https://discord.gg/2WccwBh Ghost0815 Link to comment Share on other sites More sharing options...
Grimes Posted October 7, 2012 Share Posted October 7, 2012 Now that the SSE is released: http://en.wiki.eagle.ru/wiki/Simulator_Scripting_Engine_(DCS:_World_1.2.1) Run Script> trigger.action.outText(trigger.misc.getUserFlag(flagnumber), displaytime) That script should work. 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 Link to comment Share on other sites More sharing options...
mwd2 Posted October 8, 2012 Author Share Posted October 8, 2012 yes, i know :smilewink: Playing: F-16C Intel i7-13700KF, 64GB DDR5 @5600MHz, RTX 4080 ZOTAC Trinity, WIN 11 64Bit Prof. Squadron "Serious Uglies" / Discord-Server: https://discord.gg/2WccwBh Ghost0815 Link to comment Share on other sites More sharing options...
Recommended Posts