ScarDoc

Start typing to search the SCAR reference.

Function
Util

Util_Comparison

Helper function to process comparisons that use the Comparison enum... i.e. return true if value1 IS_LESS_THAN value2

On this page
Util_Comparison(value1, comparison, value2)

Description

Comparison type can be IS_EQUAL, IS_LESS_THAN, IS_LESS_THAN_OR_EQUAL, IS_GREATER_THAN, IS_GREATER_THAN_OR_EQUAL or IS_NOT_EQUAL

Parameters

  • value1Realrequired
  • comparisonComparisonrequired
  • value2Realrequired

Returns

Unknown

Source

Declared in the game's script sources at:

scar/scarutil.scar