Scbroodsc2 (talk | contribs) |
Scbroodsc2 (talk | contribs) (→Game) |
||
Line 322: | Line 322: | ||
|- |
|- |
||
| |
| |
||
− | *[[ |
+ | *[[Triggers/Presets/Chat Match Option|Chat Match Option]] - bool |
− | *[[ |
+ | *[[Triggers/Presets/Chat Response Option|Chat Response Option]] - bool |
− | *[[ |
+ | *[[Triggers/Presets/Death Type|Death Type]] - int |
− | *[[ |
+ | *[[Triggers/Presets/Game Speed|Game Speed]] - int |
− | *[[ |
+ | *[[Triggers/Presets/Game Speed Rate|Game Speed Rate]] - real |
| |
| |
||
− | *[[ |
+ | *[[Triggers/Presets/Game Test Type|Game Test Type]] - bool |
− | *[[ |
+ | *[[Triggers/Presets/Game Over Type|Game Over Type]] - int |
− | *[[ |
+ | *[[Triggers/Presets/Marker Match Type|Marker Match Type]] - int |
− | *[[ |
+ | *[[Triggers/Presets/Map Type|Map Type]] - int |
− | *[[ |
+ | *[[Triggers/Presets/Next Map Values|Next Map Values]] - string |
| |
| |
||
− | *[[ |
+ | *[[Triggers/Presets/No Attribute ID (Game)|No Attribute ID (Game)]] - attributegame |
− | *[[ |
+ | *[[Triggers/Presets/No Attribute ID (Player)|No Attribute ID (Player)]] - attributeplayer |
− | *[[ |
+ | *[[Triggers/Presets/No Attribute Value|No Attribute Value]] - attributevalue |
− | *[[ |
+ | *[[Triggers/Presets/No Marker|No Marker]] - marker |
− | *[[ |
+ | *[[Triggers/Presets/Resource Type|Resource Type]] - int |
| |
| |
||
− | *[[ |
+ | *[[Triggers/Presets/Preload Queue|Preload Queue]] - bool |
− | *[[ |
+ | *[[Triggers/Presets/Game Cheat Type|Game Cheat Type]] - int |
− | *[[ |
+ | *[[Triggers/Presets/Game Cheat Category|Game Cheat Category]] - int |
|} |
|} |
||
Revision as of 22:45, 19 August 2017
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
Trigger Editor Overview | Events |
Conditions | Functions |
Variables And Records | Data Types |
Presets/Constants | 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.
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
|