Skip to content

GlobalContextualActionData

16.10

Inheritance 2 ancestors

Class Documentation

Edit documentation

Contextual action data that applies to every unit. The AudioGlobalEventManager lists these objects in GlobalContextualActionData. The properties have the same meaning as in ContextualActionData, with the limits below.

The client runs a global object in two cases:

  • After a situation runs on a unit's own data, the client runs the entry with the same key in each listed global object, in list order, against that unit's context. Only the user fact, mix state, champion music and announcer actions run.
  • An audio event type of the Cac family runs a situation on the global objects only (see AudioContextEventType). Only the champion music, announcer and mix state actions run.

The audio, animation and trigger event actions of a global object never run. So mCooldown, ContextualSituation.mCoolDownTime and mHealthPercentThreshold of a global object have no effect.

Every second, the component of each unit fires the situation GlobalHeartBeat on the global objects only. A unit's own data does not receive it.

Without an active AudioGlobalEventManager, the list is empty and no global object runs.