Triggers/Category Effect History

From SC2Mapster Wiki
Jump to: navigation, search

Effect History Count

  • Returns the number of entries in the specified Effect History. Use Effect History Of Unit to get an Effect History.

Effect History Entry Ability

  • Returns the ability that originated the effect that was logged in the Effect History at the specified Index. If the effect came from a weapon rather than an ability, this will return No Game Link.

Effect History Entry Amount

  • No information

Effect History Entry Amount As Integer

  • No information

Effect History Entry Effect

  • If the Effect parameter is set to Root, this will return the effect that was at the root of the effect tree for the effect that was logged in the Effect History at the specified Index. If the Effect parameter is set to Current, then this will return the effect that was logged in the Effect History at the specified Index.

Effect History Entry Time

  • Returns the game time (in seconds) when the effect that was logged in the Effect History at the specified Index occurred.

Effect History Entry Type

  • Returns the type of effect that was logged in the Effect History at the specified Index. The type for the effect is set in the effect data in the Caster History field.

Effect History Entry Unit

  • No information

Effect History Entry Weapon

  • Returns the weapon that originated the effect that was logged in the Effect History at the specified Index. If the effect came from an ability rather than a weapon, this will return No Game Link.

Effect History Entry Unit

  • Returns an Effect History object that can be used to inspect the history of effects for a unit. In order for a unit to register effects to its history, the unit must specify an Effect History Limit value, and any effects you want to track must specify a Caster History value. The Caster History value specifies the category under which you want to track the effect. You can use Effect History Entry Type to query the category for an Effect History entry. A max count of 0 (the default) will get all available entries.