Triggers/Presets

From SC2Mapster Wiki
Jump to: navigation, search

If you want to create an action or function page, use this Template. If you want to create a new trigger category page, use this Template.


Trigger Elements[edit source]

Trigger Editor Overview Events
Conditions Functions
Variables And Records Data Types
Presets/Constants Actions


Presets and Constants[edit | edit source]

Presets are a variable type within Starcraft 2 which are essentially a set of integers with string values associated. They are equivalent to enums in other programming languages, allowing you to define your own variable types and associated values, which makes the code more readable. The presets are useful for organizing your own data, but there are several pre-made presets which come with the editor already.

Presets Navigation[edit | edit source]

Actors AI AI Advanced Animation Bank
Cameras Campaign Catalog Cinematics Conversation
Conversion Data Table Debug Dialog Environment
Game General Leaderboard Math Melee
Objective Order Ping Player Player Group
Point Portrait Region Unit Selection Sound
Story String Tech Tree Text Tag Timer
Transmission Trigger UI Unit Unit Group
Variable Visibility Effect History Game User User Data
Logic Cutscene

Index of Presets/Constants[edit | edit source]

Actor[edit | edit source]

AI[edit | edit source]

AI Advanced[edit | edit source]

Animation[edit | edit source]

Bank[edit | edit source]

Camera[edit | edit source]

Catalog[edit | edit source]

Cinematics[edit | edit source]

Conversation[edit | edit source]

Conversion[edit | edit source]

Cutscene[edit | edit source]

Data Table[edit | edit source]

Debug[edit | edit source]

Dialog[edit | edit source]

Effect History[edit | edit source]

Environment[edit | edit source]

Game[edit | edit source]

Game User[edit | edit source]

General[edit | edit source]

Leaderboard[edit | edit source]

Logic[edit | edit source]

Melee[edit | edit source]

Objective[edit | edit source]

Order[edit | edit source]

Ping[edit | edit source]

Player[edit | edit source]

Player Group[edit | edit source]

Point[edit | edit source]

Portrait[edit | edit source]

Region[edit | edit source]

Selection[edit | edit source]

Sound[edit | edit source]

Story[edit | edit source]

String[edit | edit source]

Tech Tree[edit | edit source]

Text Tag[edit | edit source]

Timer[edit | edit source]

Transmission[edit | edit source]

Trigger[edit | edit source]

UI[edit | edit source]

Unit[edit | edit source]

Unit Group[edit | edit source]

User Data[edit | edit source]

Visibility[edit | edit source]