UFO-Scripts/Datatypes/V IF

From UFO:AI
< UFO-Scripts‎ | Datatypes
Revision as of 09:35, 21 September 2006 by Mattn (talk | contribs) (General)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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"