SC2Mapster Wiki
Explore
Main Page
All Pages
Interactive Maps
navigation
Main page
Community portal
Recent changes
Random page
Help
SC2MAPSTER
News
Maps
Assets
Teams
Authors
Forums
Paste
Gamepedia
Gamepedia support
Report a bad ad
Help Wiki
Contact us
FANDOM
Fan Central
BETA
Games
Anime
Movies
TV
Video
Wikis
Explore Wikis
Community Central
Start a Wiki
Don't have an account?
Register
Sign In
Sign In
Register
SC2Mapster Wiki
1,003
pages
Explore
Main Page
All Pages
Interactive Maps
navigation
Main page
Community portal
Recent changes
Random page
Help
SC2MAPSTER
News
Maps
Assets
Teams
Authors
Forums
Paste
Gamepedia
Gamepedia support
Report a bad ad
Help Wiki
Contact us
Editing
Triggers
(section)
Back to page
Edit
VisualEditor
View history
Talk (0)
Edit Page
Triggers
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Trigger Element Types=== *'''Comments:''' Text added that will not interfere with the code used for organisation and note taking. **Use as reminders for projects if development is resumed after a hiatus **Useful for learning purposes when other people look at the map *'''Custom Scripts:''' Boxes for inputting galaxy script directly. See [[Language Overview]] section to learn more *[[Triggers/Definitions|Definitions]]: Creates custom Events, Conditions, Actions or Functions able to be used in Triggers. Often used to simplify repetitive yet complex actions and functions eg. creating '''[[Triggers/Actions#Dialog|Dialog]]'''. *'''Folders:''' Used for organising groups of elements together (usually by function or development progress). Drag and drop elements to move them in/out of folders *[[Triggers/Presets|Presets]]: Single dimensional variables with predefined values linked to a text tag. Often used for variables with static values that are frequently used eg. map specific options/settings and '''Switch Case''' actions *[[Triggers/Variables And Records|Records]]: Stores an array of multiple '''Variables''' that can have different [[Types]]. Commonly used for convenience when loading and saving with [[Triggers/Actions#Banks|Banks]] or when the variable size index values represent the same object. **Require a variable using the '''-Record''' type to use variables stored on the record *'''Triggers:''' (For details see next section) *[[Triggers/Variables And Records|Variables (Global)]]: Variables that are able to be shared between triggers and threads. Use these for stuff used for multiple triggers or threads. ====Element Flags, Labels and Properties==== *'''Enabled:''' When disabled prevents the trigger from being executed even by other triggers. *'''Initially On:''' The trigger starts in the '''On''' state meaning any events the trigger has will run the trigger if the conditions are met. If disabled the '''Turn Trigger On/Off''' action from another trigger needs to turn the trigger on for the events to operate. Even in the off state triggers will still run if executed by the '''Run Trigger''' action of another trigger. *'''Template:''' Marks the element as part of a template for other modders to copy as a starting point for interacting with an existing map or mod. **An example of this is the co-op mission template, which can be found in the "Mission (COOP)" library under the "Templates" folder (requires the "Co-Op Mission" dependency). Once copied to a map, the co-op mission template can then be used to help a map maker start creating their own co-op mission. *'''Internal:''' Marks the element for internal use only, meaning other trigger libraries cannot access or modify it. This can help prevent unexpected changes caused by other maps or mods by limiting access to objects intended to be interacted with directly. *'''Deprecated:''' Marks the element as deprecated, meaning it is considered obsolete and thus should not be used. *'''Not Yet Implemented:''' Used to indicate if the element's code is not yet fully written yet and thus should not be used. *'''Label:''' Categories for the organisation of elements. Also changes the texture to the left of the element
Summary:
Please note that all contributions to the SC2Mapster Wiki are considered to be released under the CC BY-NC-SA
Cancel
Editing help
(opens in new window)
Follow on IG
TikTok
Join Fan Lab