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/Variables And Records
(section)
Back to page
Edit
VisualEditor
View history
Talk (0)
Edit Page
Triggers/Variables And Records
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!
===Fields Description=== ====Type==== *The [[Types|Type]] of data stored by the variable *Some types have up to two additional fields enabling further specification as to what data can be stored in the variable =====Sub Type List===== *'''Preset:''' Used by '''- Preset''' type variables to specify which [[Triggers/Category-Presets|Preset]] to use. Limits what preset values can be substituted. *'''Record:''' Used by '''- Record''' type variables to specify which '''Record''' to interface with *'''Link Type:''' Used by '''- Game Link''' type variables to specify what data type from the [[Data Types|Data Editor]] to store information from *'''Entry Type:''' Used by '''- Game Link''' type variables to further specify what types within the data type used by the '''Link Type''' can be stored *'''File Type:''' Used by '''- File''' type variables to determine what file types can be stored (restricted range of file types supported) **'''Cutscene:''' Specifies storage of '''.SC2Cutscene''' format files **'''Facial Animation:''' Specifies storage of '''.fxa''' format files **'''Flash Animation:''' Specifies storage of '''.swf''' format files **'''Font Style:''' Specifies storage of '''.SC2Style''' format files **'''Image:''' Specifies storage of '''.dds''' and '''.tga''' format files **'''Layout:''' Specifies storage of '''.SC2Layout''' format files **'''Model:''' Specifies storage of '''.m3''' and '''.m3a''' format files **'''Model Animation:''' Specifies storage of '''.m3a''' format files **'''Model Synchronous Data:''' Specifies storage of '''.m3h''' format files **'''Movie:''' Specifies storage of '''.ogv''' format files **'''Scene:''' Specifies storage of '''(Unknown)''' format files **'''Sound:''' Specifies storage of '''.ogg''' and '''.wav''' format files *'''Target Type:''' Used by '''Ability Command''' type variables to restrict what kinds of ability command can be stored **'''Any Target:''' Only can store ability commands that require a target **'''No Target:''' Only can store ability commands that do not require targets **'''Point:''' Only can store ability commands that target points **'''Unit:''' Only can store ability commands that target units *'''Type (Param):''' Used by '''Catalog Entry''' type variables (Unknown) *'''Scope (Param):''' Used by '''Catalog Field Name''' type variables (Unknown) *'''Type (Param):''' Used by '''Catalog Field Path''' type variables (Unknown) *'''Reference Type:''' Used by '''Catalog Reference''' type variables **'''Numeric Only:''' (Unknown) **'''Upgrade Only:''' (Unknown) *'''Option (Param):''' Used by '''Game Option Value''' type variables (Unknown) *'''Unit (Param):''' Used by '''Model Camera''' type variables (Unknown) *'''Entry Type:''' Used by '''Unit Type''' type variables (Unknown) *'''User (Param):''' Used by '''User Data Field''' and '''User Data Instance''' type variables (Unknown) *'''User Type:''' Used by '''User Data Field''' and '''User Data Instance''' type variables (Unknown) ====Constant==== *(Unknown) If enabled prevents changing the variable from the initial/default value? *Cannot be enabled if the '''Array''' flag is enabled and vice versa ====Array==== *Allows a variable to store multiple indexed values of the same type =====Dimensions===== *How many dimensions the array has. **For example a single dimension array with a size of 4 can store 4 values while an array with 4 dimensions and a size of 4 can store 16 values. **Most commonly used for storing associated values along each index value eg. unit numbers of each category owned by player number *Maximum of '''4''' dimensions allowed =====Size===== *Number of values able to be stored in the variable array *Maximum of '''8192''' values per dimension **'''Value:''' Numeric number for the size of the array **'''Constant:''' [[Types/Int|Integer]] type variable with the '''Constant''' flag enabled used to determine the array size ====Defines Default Value==== *Makes all variables of the same type as this variable created after the flag is enabled inherit the default/initial value of this variable *Multiple variables of the same type can have this flag enabled at once but only the variable with the most recently enabled flag is used for the default/initial values ====Initial Value==== *The default/initial value this variable starts with before being modified by other trigger actions *Only accepts a single value so different array indexes cannot be given different default values. Use '''Preset''' type variables if multiple default values are required or have a list of [[Triggers/Actions/Set Variable|Set Variable]] trigger actions on game initialization.
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