STU/Statescript

From owdev
Jump to: navigation, search

01B files are complicated STU files, refer to http://www.gdcvault.com/play/1024653/Networking-Scripted-Weapons-and-Abilities

Intro/Notes

01C

01C files are presumed to be Statescript variables, they do not exist on either of the public clients. They probably don't exist on tourney or showmode clients either.

These files contain instance 9CADF2EC, but doesn't appear to have any fields.

Config Vars

All inherit from STUConfigVar, they hold the data for a node.

Examples of data:

Literals (Bool, Int, Float, Vec, String, etc.)

• Variables

• Utilities (Is Hero Select Active, Get Entity Position, etc.)

• Expressions:

• Foo > 3

• dist({0}, {1}) > 3

States

Actions

Conditions

Understanding data

Using data