Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

Triggers/Category Story

From SC2Mapster Wiki
Jump to: navigation, search

Contents

Campaign Progress

Set Campaign Progress Campaign Finished

  • Action. Flags the campaign as finished or unfinished for the specified campaign for the specified player.

Set Campaign Progress Image

  • Action. Sets the progress image for the specified campaign for the specified player.

Set Campaign Progress Text

  • Action. Sets the progress text for the specified campaign for the specified player.

Set Campaign Progress Tutorial Finished

  • Action. Flags the tutorial as finished or unfinished for the specified campaign for the specified player.

Character Sheet

Set Character Sheet Description Text

  • Action. Sets the description text for the character sheet for the specified players.

Set Character Sheet Name Text

  • Action. Sets the name text for the character sheet for the specified players.

Set Character Sheet Model

  • Action. Sets the model for the character sheet for the specified players.

Mercenary Panel

Create Mercenary

  • Action. Creates a new mercenary for the mercenary panel. Use "Last Created Mercenary" to get the mercenary created by this action.

Destroy Mercenary

  • Action. Removes the specified mercenary from the mercenary panel.

Selected Mercenary

  • Function. Returns the mercenary the specified player currently has selected.

Mercenary Is Recently Purchased

  • Function. Returns true if the specified mercenary is flagged as being recently purchased.

Last Created Mercenary

  • Function. Returns the last mercenary created using "Create Mercenary".

Enable/Disable Mercenary Panel Close Button

  • Action. Enables or disables the close button on the mercenary panel for the specified players.

Enable/Disable Mercenary Panel Dismiss Button

  • Action. Enables or disables the dismiss button on the mercenary panel for the specified players.

Purchase Mercenary

  • Action. Convenience function to mark the specified mercenary as purchased, recently purchased, and play the purchase animation on it.

Set Mercenary Availability Text

  • Action. Sets the availability text for the specified mercenary.

Set Mercenary Cost

  • Action. Sets the cost for the specified mercenary.

Set Mercenary CostText

  • Action. Sets the cost text for the specified mercenary.

Set Mercenary Description Text

  • Action. Sets the description text for the specified mercenary.

Set Mercenary Portrait Image

  • Action. Sets the portrait image for the specified mercenary.

Set Mercenary Portrait Model

  • Action. Sets the portrait model for the specified mercenary.

Set Mercenary Player Group

  • Action. Sets the player group that the specified mercenary will appear for.

Set Mercenary Recently Purchased

  • Action. Flags or unflags the specified mercenary as being recently purchased.

Set Mercenary Scene

  • Action. Sets the movie that plays when the specified mercenary is selected.

Set Selected Mercenary

  • Action. Selects the specified mercenary for the specified player.

Set Mercenary Special Text

  • Action. Sets the special text for the specified mercenary.

Set Mercenary State

  • Action. Sets the visibility state for the specified mercenary.

Set Mercenary Title Text

  • Action. Sets the title text for the specified mercenary.

Set Mercenary Unit Text

  • Action. Sets the unit text for the specified mercenary.

Mission Archives Panel

Add Mission Archive Achievement

  • Action. This will only work on Blizzard maps.

Add Mission Archive

  • Action. Adds a mission or scene to the mission archives panel for the specified players. Use "Last Created Mission Archive" to get the mission archive created through this action.

Remove Mission Archive

  • Action. Removes the specified mission archive from the mission archive panel.

Last Created Mission Archive

  • Function. Returns the last mission archive created using "Add Mission Archive".

Selected Mission Archive

  • Function. Returns the mission archive that the specified player currently has selected.

Set Selected Mission Archive

  • Action. Sets which mission archive is selected on the mission archive panel for the specified player group.

Set Mission Archive Best Time Text

  • Action. Sets the best time text for the specified mission archive.

Set Mission Archive Bonus Text

  • Action. Sets the bonus text for the specified mission archive.

Set Mission Archive Bonus Title

  • Action. Sets the bonus title for the specified mission archive.

Set Mission Archive Button Image

  • Action. Sets the button image for the specified mission archive.

Set Mission Archive Button Text

  • Action. Sets the button text for the specified mission archive.

Set Mission Archive Difficulty Best Time Text

  • Action. Sets the dificulty-specific best time text for the specified mission archive.

Set Mission Archive Difficulty Completed

  • Action. Flags a difficulty level as completed for the specified mission archive.

Set Mission Archive Mission Image

  • Action. Sets the mission image for the specified mission archive.

Set Mission Archive Mission Text

  • Action. Sets the mission text for the specified mission archive.

Set Mission Archive Priority

  • Action. Sets the priority for the specified mission archive.

Set Mission Archive Research Text

  • Action. Sets the research text for the specified mission archive.

Set Mission Archive Research Title

  • Action. Sets the research title for the specified mission archive.

Set Mission Archive Scene Image

  • Action. Sets the scene image for the specified mission archive.

Set Mission Archive Scene Text

  • Action. Sets the scene text for the specified mission archive.

Show Mission Archive in Missions Completed Total

  • Action. If this mission archive is flagged as a mission, this will determine if this mission is counted in the missions completed section of the mission archive panel.

Set Mission Archive State

  • Action. Sets the visibility state for the specified mission archive.

Selected Mission Archive Difficulty

  • Function. Returns the mission archive mission difficulty that was last selected. Only valid in response to "Mission Archives Panel Play Mission" events.

Selected Mission Archive Mission

  • Function. Returns the mission archive mission selected. Only valid in response to "Mission Archives Panel Play Mission" events.

Selected Mission Archive Scene

  • Function. Returns the mission archive scene selected. Only valid in response to "Mission Archives Panel Play Scene" events.

Modes And Sets

Campaign Mode

  • Action. Turns campaign mode on or off for a player group. This will only work for Blizzard maps.

Player In Story Mode

  • Function. Returns true if the specified player is in story mode. Use the "Story Mode" action to turn story mode on and off for a player.

Story Mode

  • Action. Turns story mode on or off for a player group. This will only work for Blizzard maps.

Story Set Change

  • Action. Prepares the graphics engine for a set change.

_Story Mode On/Off For Player

  • Action.

_Story Mode On/Off For Player Group

  • Action.

_Story Mode Hide UI

  • Action.

_Story Mode Restore UI

  • Action.

_Story Mode Internal

  • Action.

Planet Panel

Selected Mission Difficulty

  • Function. Returns the desired difficulty at which the player wanted to play the mission.

Clicked Planet

  • Function. Returns the planet that triggered "Planet Panel Mission Selected".

Clear Selected Planet

  • Action. Clears the planet selection on the planet panel for the specified players.

Selected Planet

  • Function. Returns the planet the specified player has selected.

Planet Panel Contact Button State

  • Function. Returns the current state of the contact button on the planet panel.

Enable/Disable Planet Panel Close Button

  • Action. Enables or disables the close button on the planet panel for the specified players.

Set Planet Panel Close Button Shortcut

  • Action. Sets the hotkey for the close button on the planet panel for the specified players.

Set Planet Panel Close Button Text

  • Action. Sets the text that is displayed on the close button on the planet panel for the specified players.

Set Planet Panel Close Button Tooltip

  • Action. Sets the tooltip text for the close button on the planet panel for the specified players.

Set Planet Panel Background Image

  • Action. Sets the background image for the planet panel for the specified players.

Set Planet Panel Contact Button State

  • Action. Sets the state of the contact button on the planet panel for the specified players.

Enable/Disable Planet Panel Dismiss Button

  • Action. Enables or disables the dismiss button on the planet panel for the specified players.

Set Selected Planet

  • Action. Selects the specified planet on the planet panel for the specified players.

Set Planet Background Model

  • Action. Sets the background model for the specified planet.

Set Planet Bonus Text

  • Action. Sets the bonus description for the specified planet.

Set Planet Bonus Title

  • Action. Sets the bonus title for the specified planet.

Set Planet Contact Model

  • Action. Sets the model for the contact for the specified planet.

Set Planet Contact Name

  • Action. Sets the contact name for the specified planet.

Set Planet Contact Title

  • Action. Sets the contact title for the specified planet.

Set Planet Contact Tooltip

  • Action. Sets the tooltip for the contact for the specified planet.

Set Planet Description

  • Action. Sets the description text for the specified planet.

Set Planet Mission Name

  • Action. Sets the mission name for the specified planet.

Set Planet Mission Title

  • Action. Sets the mission title for the specified planet.

Set Planet Model

  • Action. Sets the model for the specified planet.

Set Planet Name

  • Action. Sets the name fo the specified planet.

Set Planet Frame Text

  • Action. Sets the frame text for the specified planet.

Set Planet Players

  • Action. Sets the player group that the specified planet will display for.

Set Planet Primary Objective Text

  • Action. Sets the primary objective description for the specified planet.

Set Planet Primary Objective Title

  • Action. Sets the primary objective title for the specified planet.

Set Planet Research Text

  • Action. Sets the research description for the specified planet.

Set Planet Research Title

  • Action. Sets the research title for the specified planet.

Set Planet Reward Text

  • Action. Sets the reward description for the specified planet.

Set Planet Reward Title

  • Action. Sets the reward title for the specified planet.

Set Planet Secondary Objective Text

  • Action. Sets the secondary objective description for the specified planet.

Set Planet Secondary Objective Title

  • Action. Sets the secondary objective title for the specified planet.

Set Planet State

  • Action. Sets the visibility state of the specified planet.

Set Planet Technology Icon

  • Action. Sets the icon for the tech for the specified planet.

Set Planet Technology Name

  • Action. Sets the name for the tech for the specified planet.

Set Planet Technology Text

  • Action. Sets the description for the tech for the specified planet.

Set Planet Technology Title

  • Action. Sets the title for the tech for the specified planet.

Set Planet Technology Tooltip

  • Action. Sets the tooltip for the tech for the specified planet.

Set Planet Technology Unit

  • Action. Sets the unit for the tech for the specified planet.

Set Planet Tooltip

  • Action. Sets the tooltip for the specified planet.

Create Planet

  • Action. Creates a new planet on the planet panel for the specified players. Use "Last Created Planet" to refer to the planet that was created.

Destroy Planet

  • Action. Removes the specified planet from the planet panel.

Destroy All Planets

  • Action. Removes all planets from the planet panel for the specified players.

Last Created Planet

  • Function. Returns the last planet created with "Create Planet".

Research Panel

Create Research Category

  • Action. Creates a new research category for the research panel. Use "Last Created Research Category" to get the research category created by this action.

Destroy Research Category

  • Action. Removes the specified research category from the research panel.

Destroy All Research Categories

  • Action. Removes all research categories from the research panel for the specified players.

Last Created Research Category

  • Function. Returns the last research category created using "Create Research Category".

Set Research Category Current Level

  • Action. Sets the current level for the specified research category to the specified level.

Set Research Category Last Level

  • Action. Sets the last level for the specified research category to the specified level.

Set Research Category Name

  • Action. Sets the name for the specified research category.

Create Research Item

  • Action. Creates a new research item for the research panel. Use "Last Created Research Item" to get the research item created by this action.

Destroy Research Item

  • Action. Removes the specified research item from the research panel.

Selected Research Item

  • Function. Returns the research item the specified player has selected.

Research Item Is Recently Purchased

  • Function. Returns true if the specified research item is flagged as recently purchased.

Last Created Research Item

  • Function. Returns the last research item created using "Create Research Item".

Purchase Research Item

  • Action. Combined with the "Set Research Tier Max Purchases Allowed", this function will perform logic to mark the given research item as purchased, and flag any other research items in the tier that are past the max purchases allowed as disabled.

Set Research Item Confirmation

  • Action. Sets the confirmation text of the specified research item.

Set Research Item Description

  • Action. Sets the description of the specified research item.

Set Research Item Icon

  • Action. Sets the icon for the specified research item.

Set Research Item Movie

  • Action. Sets the movie that will be shown when the specified research item is selected.

Set Research Item Name

  • Action. Sets the name of the specified research item.

Set Research Item Recently Purchased

  • Action. Flags or unflags a research item as being recently purchased.

Set Selected Research Item

  • Action. Selects the specified research item for the specified players.

Set Research Item State

  • Action. Sets the enabled state of the specified research item.

Set Research Item Tooltip

  • Action. Sets the tooltip of the specified research item.

Create Research Tier

  • Action. Creates a new research tier for the research panel. Use "Last Created Research Tier" to get the research tier created by this action.

Destroy Research Tier

  • Action. Removes the specified research tier from the research panel.

Destroy All Research Tiers

  • Action. Removes all research tiers from the research panel for the specified players.

Last Created Research Tier

  • Function. Returns the last research tier created using "Create Research Tier".

Set Research Tier Max Purchases Allowed

  • Action. If this number is set higher than 0, when setting the state of one of the Research Items of this tier to Purchased, logic will execute to ensure the rest of the Research Items are set to disabled.

Set Research Tier Required Level

  • Action. Sets the required level for the specified research tier to the specified level.

Tech Purchase Panel

Purchased Purchase Item

  • Function. Returns the purchase item that was purchased. Used in response to a "Purchase Made" event.

Selected Purchase Category

  • Function. Returns the purchase category that the specified player currently has selected.

Selected Purchase Item

  • Function. Returns the purchase item that the specified player currently has selected.

Purchase Item Is Recently Purchased

  • Function. Returns true if the specified purchase item is flagged as recently purchased.

Purchase Purchase Item

  • Action. Convenience function to mark the specified purchase item as purchased, recently purchased, and play the purchase animation on it.

Set Selected Purchase Category

  • Action. Selects the specified purchase category for the specified players.

Set Selected Purchase Item

  • Action. Selects the specified purchase item for the specified players.

Create Purchase Category

  • Action. Creates a group for purchasable techs for the specified player group. Use "Last Created Purchase Category" to get the purchase category created by this action. Tech purchase actions are used to populate the Hyperion Armory tech purchase UI with data.

Destroy Purchase Category

  • Action. Destroys the specified purchase category.

Destroy All Purchase Categories

  • Action. Destroys all the tech purchase categories for the specified players.

Last Created Purchase Category

  • Function. Returns the last purchase category created using "Create Purchase Category".

Set Purchase Category Name

  • Action. Sets the name for the specified purchase category.

Set Purchase Category Players

  • Action. Sets the player group for the specified purchase category.

Set Purchase Category Slot

  • Action. Sets the slot for the specified purchase category.

Set Purchase Category State

  • Action. Sets the visibility state for the specified purchase category.

Create Purchase Group

  • Action. Creates a purchase group for the specified purchase category and players. Use "Last Created Purchase Group" to get the purchase group created by this action. Tech purchase actions are used to populate the Hyperion Armory tech purchase UI with data.

Destroy Purchase Group

  • Action. Removes the specified purchase group from the tech purchase UI.

Destroy All Purchase Groups

  • Action. Destroys all purchase groups for the specified players.

Last Created Purchase Group

  • Function. Returns the last purchase group created by the "Create Purchase Group" action.

Set Purchase Group Icon

  • Action. Sets the icon for the specified purchase group.

Set Purchase Group Name

  • Action. Sets the name for the specified purchase group.

Set Purchase Group Players

  • Action. Sets the players for the specified purchase group.

Set Purchase Group Slot

  • Action. Sets the slot for the specified purchase group.

Set Purchase Group State

  • Action. Sets the visibility state for the specified purchase group.

Set Purchase Group Tooltip

  • Action. Sets the tooltip for the specified purchase group.

Set Purchase Group Unit

  • Action. Sets the unit for the specified purchase group.

Create Purchase Item

  • Action. Creates a purchasable tech item for the specified purchase group and players. Use "Last Created Purchase Item" to get the purchase item created by this action. Tech purchase actions are used to populate the Hyperion Armory tech purchase UI with data.

Destroy Purchase Item

  • Action. Removes the specified purchase item from the tech purchase UI.

Destroy All Purchase Items

  • Action. Destroys all purchase items for the specified players.

Last Created Purchase Item

  • Function. Returns the last purchase item created by the "Create Purchase Item" action.

Set Purchase Item Cost

  • Action. Sets the cost for the specified purchase item.

Set Purchase Item Description

  • Action. Sets the description for the specified purchase item.

Set Purchase Item Icon

  • Action. Sets the icon for the specified purchase item.

Set Purchase Item Movie

  • Action. Sets the movie for the specified purchase item.

Set Purchase Item Name

  • Action. Sets the name for the specified purchase item.

Set Purchase Item Players

  • Action. Sets the player group for the specified purchase item.

Set Purchase Item Recently Purchased

  • Action. Flags or unflags the specified purchase item as recently purchased.

Set Purchase Item Slot

  • Action. Sets the slot for the specified purchase item.

Set Purchase Item State

  • Action. Sets the visibility state for the specified purchase item.

Set Purchase Item Tooltip

  • Action. Sets the tooltip for the specified purchase item.

Victory Panel

Selected Victory Difficulty

  • Function. Returns the desired difficulty at which the player wanted to replay the mission.

Enable/Disable Score Tracking

  • Action. Enables or disables tracking of a specific statistic for the specified player.

Enable/Disable All Score Tracking

  • Action. Enables or disables all score tracking for the specified player.

Add Victory Panel Achievement

  • Action. This will only work with Blizzard maps.

Add Victory Panel Custom Statistic Line

  • Action. Adds a custom statistic to the victory panel. While values for tracked statistics are provided by the game, you will have to script actions to collect data for custom statistics.

Add Victory Panel Tracked Statistic

  • Action. Adds a statistic to the victory panel.

Clear Victory Panel Custom Statistic Table

  • Action. Clears all custom statistic text and values in the victory panel.

Set Victory Panel Achievements Title

  • Action. Sets the achievements title on the victory panel.

Set Victory Panel Background Image

  • Action. Sets the background image of the victory panel.

Set Victory Panel Custom Statistic Text

  • Action. Sets the text for a victory panel custom statistic.

Set Victory Panel Custom Statistic Value

  • Action. Sets the value for a victory panel custom statistic.

Set Victory Panel Mission Text

  • Action. Sets the mission text on the victory panel.

Set Victory Panel Time Text

  • Action. Sets the time text on the victory panel.

Set Victory Panel Time Title

  • Action. Sets the time title on the victory panel.

Set Victory Panel Mission Title

  • Action. Sets the mission title on the victory panel.

Set Victory Panel Background Model

  • Action. Sets the model to be displayed on the victory panel.

Set Victory Panel Reward Credits

  • Action. Using this function instead of "Set Victory Panel Reward Text" will cause the credits to count up from 0 to the desired number.

Set Victory Panel Reward Text

  • Action. Sets the reward text on the victory panel.

Set Victory Panel Reward Title

  • Action. Sets the reward title on the victory panel.

Set Victory Panel Statistics Title

  • Action. Sets the statistics title on the victory panel.

Set Victory Panel Summary Background Image

  • Action. Sets the background image of the summary section of the victory panel.

Set Victory Panel Victory Text

  • Action. Sets the victory text on the victory panel.