Stat Evaluator Object

From Runic Games Wiki
Jump to: navigation, search

Contents

Stats Evaluator

Description

This Level Object is used to ...

Location

Right-click on an empty space in the Layout Scene Manager and choose Stat Logic > Stat Evaluator from the list.

Properties

Name Type Description Read Only
EVALUATION TYPE
TYPE
string
Specify the evaluator to use.
  • AND ( INT ONLY )
  • EQUAL
  • GREATER THAN OR EQUAL ( NO STRING )
  • GREAT THAN ( NO STRING )
  • LESS THAN OR EQUAL ( NO STRING )
  • LESS THAN RANDOM ( NO STRING )
  • LESS THAN ( NO STRING )
  • NAND ( INT ONLY )
  • NOR ( INT ONLY )
  • NOT EQUAL
  • OR ( INT ONLY )
  • XOR ( INT ONLY )
STAT ONE
STAT 1
string
A Stat specified in code.
STAT 1 DYNAMIC
string
A dynamic Stat created within the editor.
STAT ONE TARGETING
INDEX
int
The primary index of the target type.
SECONDARY INDEX
int
The secondary index of the target type.
TARGET NAME
string
The name of the Unit in the level.
TYPE
string
The type of target the list should use.
  • ACTIVE LEVEL
  • ACTIVE MERCHANT
  • ACTIVE NPC
  • ACTIVE REMOTE CLIENT
  • BY NAME BY INDEX
  • BY NAME PET BY SECONDARY INDEX
  • EXTERNAL PLAYER BY INDEX
  • EXTERNAL PLAYER PET BY SECONDARY INDEX
  • LOCAL PLAYER
  • LOCAL PLAYER PET BY INDEX
  • MOUSE OVER
  • MOUSE OVER PET BY SECONDARY INDEX
  • NONE
  • PLAYER INSPECTING
  • PLAYER TRADING WITH
STAT VALUE TO COMPARE
FLOAT
int
The float value to compare to.
INT
int
The int value to compare to.
STRING
int
The string value to compare to.

Input Events

Evaluate
Evaluate the stats using the specified evaluation "Type".

Output Events

Evaluated True
This event will be fired when the Stat Evaluator receives an "Evaluate" Input event and it returns True.
Evaluated False
This event will be fired when the Stat Evaluator receives an "Evaluate" Input event and it returns False.
Personal tools
Namespaces

Variants
Actions
Navigation
Runic Sites
Toolbox