Jump to content

R3DActual

Member
  • Content Count

    1
  • Joined

  • Last visited

  • Medals

Community Reputation

0 Neutral

About R3DActual

  • Rank
    Newbie
  1. So, I'm working on trying to get it where it checks for both an empty value and checks to make sure the value is a number/int from an RscEdit Reading if it's empty works fine but checking to see if it's an int/SCALAR no matter whether it's a number or text or returns the hint "Value must be an integer!" _getVar = uiNamespace getVariable 'myVar'; _value = ctrlText _getVar; if (_value == "") exitWith { hint parseText "<t color='#FF0000'>Value can't be empty!</t>"; }; if(typename _value != "SCALAR") exitWith { hint parseText "<t color='#FF0000'>Value must be an integer!</t>"; }; hint format["Value: $%1", _value];
×