Stat Operator Object

From Runic Games Wiki
Jump to: navigation, search

Contents

Stats Operator

Description

This Level Object is used to ...

Location

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

Properties

Name Type Description Read Only
OPERATOR TYPE
OPERATOR
string
Specify the operator to use. Note: Most operations are done on the second parameter. Meaning such things as absolute will execute on the second parameter and the result will be given to the first stat.
  • ABSOLUTE
  • ADD
  • AND
  • ARC COSINE
  • ARC TANGENT
  • COSINE
  • DIVIDE
  • MOD
  • MULTIPLY
  • NAND
  • NOR
  • OR
  • POWER
  • ROUND DOWN
  • ROUND UP
  • SET EQUAL
  • SINE
  • SQUARE ROOT
  • SUBTRACT
  • TANGENT
  • XOR
SECOND PARAM OF OPERATOR
FLOAT
int
The float value of the second parameter.
INT
int
The int value of the second parameter.
STAT ONE
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

Input Events

Operate

Output Events

Operation Complete
Personal tools
Namespaces

Variants
Actions
Navigation
Runic Sites
Toolbox