Difference between revisions of "UFO-Scripts/Datatypes/V IF"

From UFO:AI
(General)
 
(No difference)

Latest revision as of 09:35, 21 September 2006

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"