Triggers/Category Order

From SC2Mapster Wiki
Jump to: navigation, search

Ability Commands

Ability Command

  • Action. Constructs an ability command from an ability and an index. An ability command is the combination of an ability and an index for a command within that ability. Command indexes are 0 based.

Ability Of Ability Command

  • Function. Returns the ability being used for an ability command. An ability command is the combination of an ability and an index for a command within that ability.

Function Type For Ability Command

  • Function. Returns the Function type of an ability command. An ability command is the combination of an ability and an index for a command within that ability.

Index Of Ability Command

  • Function. Returns the index value of an ability command. An ability command is the combination of an ability and an index for a command within that ability.

Order Properties

Ability Command For Order

  • Function. Returns the ability command for the order.

Flag Is Enabled For Order

  • Function. Returns true if the specified flag is enabled.

Player For Order

  • Function. Returns the player number that the order is issued for.

Target Item For Order

  • Function. Returns the target for the order if the target is an item.

Target Point For Order

  • Function. Returns the target for the order if the target is a point.

Target Position For Order

  • Function. Returns the position of the target for an order, regardless of what type of target it is.

Target Type For Order

  • Function. Returns the target type for the specified order.

Target Unit For Order

  • Function. Returns the target for the order if the target is a unit.

Order Is Valid

  • Function. Returns true if the order is valid for the specified unit.

Orders To Be Issued

Order With No Target

  • Function. Returns an order with no target. This is primarily for use in "Issue Order" and "Issue Order To Unit Group" Functions.

Change Autocast Mode

  • Function. Returns an order to change the autocast mode for an ability command. This is primarily for use in "Issue Order" and "Issue Order To Unit Group" Functions.

Order Targeting Item

  • Function. Returns an order targeting an item. This is primarily for use in "Issue Order" and "Issue Order To Unit Group" Functions.

Order Targeting Point

  • Function. Returns an order targeting a point. This is primarily for use in "Issue Order" and "Issue Order To Unit Group" Functions.

Order Targeting Relative Points

  • Function. Returns an order targeting relative points near a given point. This is primarily for use in "Issue Order To Unit Group" Functions.

Order Targeting Unit

  • Function. Returns an order targeting a unit. This is primarily for use in "Issue Order" and "Issue Order To Unit Group" Functions.

Order Targeting Unit Group

  • Function. Returns an order targeting a unit group. This is primarily for use in "Issue Order" and "Issue Order To Unit Group" Functions.