Jump to content

Recommended Posts

Posted

Is there a simple message script to check the value of a flag while testing a mission? I can get the message out when flag goes true but want to get value. Is of particular interest when using random flag value.

Intel i7-7700@3.6GHz 16GB NVIDIA GeForce GTX1060 6GB

Posted
20 minutes ago, Mangrove Jack said:

Is there a simple message script to check the value of a flag while testing a mission? I can get the message out when flag goes true but want to get value. Is of particular interest when using random flag value.


use a script like this:

trigger.action.outText( 'Total Results: ' .. trigger.misc.getUserFlag ( '100' ), 30 )

this example displays on screen for 30 seconds the value of flag 100 (can be a named variable too)

  • Like 1

 

For work: iMac mid-2010 of 27" - Core i7 870 - 6 GB DDR3 1333 MHz - ATI HD5670 - SSD 256 GB - HDD 2 TB - macOS High Sierra

For Gaming: 34" Monitor - Ryzen 3600 - 32 GB DDR4 2400 - nVidia RTX2080 - SSD 1.25 TB - HDD 10 TB - Win10 Pro - TM HOTAS Cougar

Mobile: iPad Pro 12.9" of 256 GB

Posted (edited)

Thanks I will try that.

Yep was just what I needed. Thanks again Rudel_chw

Edited by Mangrove Jack
  • Like 1

Intel i7-7700@3.6GHz 16GB NVIDIA GeForce GTX1060 6GB

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...