UFO-Scripts/Datatypes/V IF

From UFO:AI
< UFO-Scripts‎ | Datatypes
Revision as of 11:35, 21 September 2006 by Mattn (talk | contribs) (→‎General)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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"