Skip to content
CISV2.0GET IT ON FAB

REFERENCEOBJECTS

UCISUseObjectTest_ObjectPriority

MODULECharacterInteractionSystemINCLUDEDetermineUseObjectTests/CISUseObjectTest_ObjectPriority.hPARENTUCISDetermineUseObjectTest

The priority test: it scores an object by its Object Priority setting, from 0 to 10. Add it to the character's Tests to Determine Object for Use to prefer some objects over others.

Functions

  • CalculateObjectScoreReturns the score of the object for this character, 0 or more.
  • GetValueFromCurveReturns the value at InTime of the external curve, when one is set, otherwise of the Calculation Curve of this test.

Properties

  • CalculationCurveThe curve that GetValueFromCurve reads when no external curve is set.
  • TestMultiplierMultiplies the score of this test.
  • bWithDebugShows the score, the multiplied score, the name of this test and the object on the screen, outside shipping builds.
  • DebugTimeSeconds that the debug lines stay on the screen.
  • DebugColorThe colour of the debug lines on the screen.