UFO-Scripts/Datatypes/V IF

From UFO:AI
Jump to navigation Jump to search

General

You can activate a node when a specific value was set. The first argument is the cvar you would like to check, the second the desired value of this cvar. Every comparison is a string comparison.

Numeric If Conditions

  • ==
  • <=
  • >=
  • >
  • <
  • !=

Example

if "sys_os == linux"
if "num == 1"