Triggers/Category Conversion

From SC2Mapster Wiki
Jump to: navigation, search

Actor Conversions[edit | edit source]

Convert 3D Rotation To String[edit | edit source]

  • Function. Converts and combines the Forward X,Y,Z parameters, and the Up X,Y,Z parameters, into a string with the format "<Forward Vector>,<Up Vector>".

Convert 3D Vector To String[edit | edit source]

  • Function. Converts the X, Y, and Z parameters into a string with the format "X,Y,Z".

Convert Bearings To String[edit | edit source]

  • Function. Turns a 3D position and a 3D rotation (via forward an up vectors) into a string that can be used in an actor message.

Convert Color To String[edit | edit source]

  • Function. Converts the RGB values of the specified Color to a string value with the format "<Red>,<Green>,<Blue>".

Convert XY To String[edit | edit source]

  • Function. Converts the X and Y parameters into a string with the format "X,Y".

Convert String To Actor Message[edit | edit source]

  • Function. Converts a string value to an actor message.

Basic Conversions[edit | edit source]

Convert Boolean To Integer[edit | edit source]

  • Function. Converts a boolean to 1 (true) or 0 (false).

Convert Boolean To String[edit | edit source]

  • Function. Converts a boolean value to a string value.

Convert Boolean To Text[edit | edit source]

  • Function. Converts a boolean value to a text value.

Convert Real To Integer[edit | edit source]

  • Function. Converts a real value into an integer value.

Convert Real To String[edit | edit source]

  • Function. Converts a real value to a string value.

Convert Real To Text[edit | edit source]

  • Function. Converts a real value to a text value.

Convert Real To Text (Advanced)[edit | edit source]

  • Function. Converts a real value of a specified formatting style to a text value.

Format Duration[edit | edit source]

  • Function. Formats a duration in seconds into a localization friendly text value. For example, 150 will become 2:30 in English

Format Number[edit | edit source]

  • Function. Formats a number into a localization friendly text value. For example, 1000000 will become 1,000,000 in English.

Convert Integer To Real[edit | edit source]

  • Function. Converts an integer into a real value.

Convert Integer To String[edit | edit source]

  • Function. Converts an integer to a string value.

Convert Integer To Text[edit | edit source]

  • Function. Converts an integer into a text value.

Convert String To Real[edit | edit source]

  • Function. Converts a string value to a real value.

Convert String To Integer[edit | edit source]

  • Function. Converts a string value to an integer value.

Convert String To Text[edit | edit source]

  • Function. Converts a string value to a text value.

Convert Game Link To String[edit | edit source]

  • Function. Converts a game link value to a string value.o

Color Conversions[edit | edit source]

Convert Reals To Color[edit | edit source]

  • Function. Converts a real value into a color.

Convert Real Color Component to Integer 255 Color Component[edit | edit source]

  • Function. Used to generate actor messages, which take colors in the range 0 to 255.

Convert Color Index To Color[edit | edit source]

  • Function. Returns the color at the specified color index. The color index is an index into the array of colors that appear when you select a color in a SC2 game lobby.

Color Component[edit | edit source]

  • Function. Returns the percentage value of a color component in the specified color.

Convert Reals To Color With Alpha[edit | edit source]

  • Function. Converts a real value to a color value with alpha settings.

Convert Player Color To Color[edit | edit source]

  • Function. Converts a player color value to an actual color

Preset Conversions[edit | edit source]

Convert Preset To Color[edit | edit source]

  • Function. Converts a preset value to a color value.

Convert Preset To Conversation[edit | edit source]

  • Function. Converts a preset value to a conversation value.

Convert Preset To Game Link - Unit[edit | edit source]

  • Function. Converts a preset value to a unit game link value.

Convert Preset To Integer[edit | edit source]

  • Function. Converts a preset value to an integer value.

Convert Preset To Point[edit | edit source]

  • Function. Converts a preset value to a point value.

Convert Preset To Purchasable[edit | edit source]

  • Function. Converts a preset value to a purchasable value.

Convert Preset To Real[edit | edit source]

  • Function. Converts a preset value to a real value.

Convert Preset To Region[edit | edit source]

  • Function. Converts a preset value to a region value.

Convert Preset To Reply[edit | edit source]

  • Function. Converts a preset value to a reply value.

Convert Preset To Revealer[edit | edit source]

  • Function. Converts a preset value to a revealer value.

Convert Preset To String[edit | edit source]

  • Function. Converts a preset value to an string value.

Convert Preset To Transmission[edit | edit source]

  • Function. Converts a preset value to a transmission value.

Convert Preset To Trigger[edit | edit source]

  • Function. Converts a preset value to a trigger value.

Convert Preset To Unit[edit | edit source]

  • Function. Converts a preset value to a unit value.

Convert Preset To Unit Filter[edit | edit source]

  • Function. Converts a preset value to a unit filter value.