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

Ui-editoricon-general triggers.png Trigger Editor Overview Ui-editoricon-triggereditor newevent.png Events
Ui-editoricon-triggereditor newcondition.png Conditions Question.png Functions
Ui-editoricon-triggereditor newvariable.png Variables And Records Ui-editoricon-triggereditor newvariable.png Data Types
Ui-editoricon-triggereditor newpresettype.png Presets/Constants Ui-editoricon-triggereditor newaction.png Actions


Presets and Constants

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

Ui-editoricon-triggercategories actor.png Actors Ui-editoricon-triggercategories ai.png AI Ui-editoricon-triggercategories aiadvanced.png AI Advanced Ui-editoricon-triggercategories animation.png Animation Ui-editoricon-triggercategories bank.png Bank
Ui-editoricon-triggercategories cameras.png Cameras Ui-editoricon-triggercategoriescampaign.png Campaign Ui-editoricon-triggercategories catalog.png Catalog Ui-editoricon-triggercategories cinematics.png Cinematics Ui-editoricon-triggercategories conversations.png Conversation
Ui-editoricon-triggercategories conversion.png Conversion Ui-editoricon-triggercategories datatable.png Data Table Ui-editoricon-triggercategories debug.png Debug Ui-editoricon-triggercategories dialog.png Dialog Ui-editoricon-triggercategories environment.png Environment
Ui-editoricon-triggercategories game.png Game Ui-editoricon-triggercategories general.png General Ui-editoricon-triggercategories leaderboards.png Leaderboard Ui-editoricon-triggercategories math.png Math Ui-editoricon-triggercategories melee.png Melee
Ui-editoricon-triggercategories objective.png Objective Ui-editoricon-triggercategories orders.png Order Ui-editoricon-triggercategories ping.png Ping Ui-editoricon-triggercategories player.png Player Ui-editoricon-triggercategories playergroup.png Player Group
Ui-editoricon-triggercategories point.png Point Ui-editoricon-triggercategories portrait.png Portrait Ui-editoricon-triggercategories region.png Region Ui-editoricon-triggercategories unitselection.png Unit Selection Ui-editoricon-triggercategories sound.png Sound
Ui-editoricon-triggercategories story.png Story Ui-editoricon-triggercategories strings.png String Ui-editoricon-triggercategories techtree.png Tech Tree Ui-editoricon-triggercategories texttag.png Text Tag Ui-editoricon-triggercategories timer.png Timer
Ui-editoricon-triggercategories transmission.png Transmission Ui-editoricon-triggercategories triggers.png Trigger Ui-editoricon-triggercategories ui.png UI Ui-editoricon-triggercategories unit.png Unit Ui-editoricon-triggercategories unitgroup.png Unit Group
Ui-editoricon-triggercategories variable.png Variable Ui-editoricon-triggercategories visibility.png Visibility Effect History Game User User Data
Logic Cutscene

Index of Presets/Constants

Actor

AI

AI Advanced

Animation

Bank

Camera

Catalog

Cinematics

Conversation

Conversion

Cutscene

Data Table

Debug

Dialog

Effect History

Environment

Game

Game User

General

Leaderboard

Logic

Melee

Objective

Order

Ping

Player

Player Group

Point

Portrait

Region

Selection

Sound

Story

String

Tech Tree

Text Tag

Timer

Transmission

Trigger

UI

Unit

Unit Group

User Data

Visibility