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 Sub-Element Types=== [[File:TM-Basic1.png]] *[[Triggers/Events|Events]]: The event that will "run" the trigger (Unit dies, Unit enters region, Effect Used, etc.). Whenever this event happens, the trigger will start, create a new thread and check the conditions. Triggers lacking events can still be run by other triggers using Run Trigger actions specifying the trigger under the Parameters however this means that at least one trigger somewhere must have at least one event. *[[Triggers/Variables And Records|Variables (Local)]]: Variable used to store information for a single execution of a trigger. Local variables are deleted when the trigger thread finishes running and are created and linked in parallel for each thread created, meaning multiple copies of the same variable with different values can exist at a time. This has advantages if executing the same trigger multiple times on multiple targets transiently (eg. displaying damage taken on a cluster of units hit several times by a multicastable area of effect ability with damage over time). Having the correct [[Types|Type]] of local variable in the trigger is required for some '''Functions''' and '''Actions''' to appear as options. *[[Triggers/Conditions|Conditions]]: Conditions are restrictions before the actions are executed. They have all to be true in order for the trigger to continue (Unit has attribute "hero", Owner of unit is player 1, Race of player is Terran, etc.) *[[Triggers/Actions|Actions]]: What the trigger does in response to the event. This can range from the creation of units to modification of their stats to adding minerals or ending the game in victory/defeat, etc. *'''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 ====Sub-Element Flags, Labels and Properties==== *'''Enabled:''' When disabled prevents the sub-element from being executed when the trigger runs. *'''Depreciated:''' 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 sub elements. Also changes the texture to the left of the sub-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