Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Effects and looks

The lasting effects units carry, the particles a client draws, and how units look and move on screen. None of this changes what a unit can do; that is replication’s to say.

Lasting effects

A lasting effect sits in one of a unit’s effect slots and shows on its icon row. A server puts one on with EffectAdded, replaces the one in a slot with EffectReplaced, restates how many are stacked with EffectCount, and takes it off with EffectRemoved. The unit carrying an effect can differ from the unit that cast it. A server can do each of these for several units at once (EffectAddedGroup, EffectReplacedGroup, EffectCountGroup, EffectRemovedGroup), and set the number an effect shows on its icon with EffectCounter.

Particles

ParticlesCreated starts a client drawing particles, and KillParticle stops one. A server can also pause or resume a named group of emitters with EmitterPause, and drive a value of a unit’s lasting particles from something that changes, such as a capture point or the unit’s resource, with ParticleSource.

ParticlesCreated starts sets of particles, each named by its own id.

Looks and animation

A server lays a new look over a unit’s own with AppearancePushed; looks stack, the newest showing, and AppearancePopped and AppearanceCleared take them away. AnimationOverrides has a unit play one set of movements wherever it would have played another.

A server can also:

Messages

Each message of this system in this book, with each layout it has across the book’s patches and every note its definition carries. A layout is the message’s body, after the header its channel’s family puts in front (see Messages).

EffectAdded

What a server sends to put a lasting effect on a unit. The header names the unit carrying the effect, which can differ from the caster named inside.

Definition.

In 1.0.0.130–1.0.0.138

Carried on events, sent by the server, reliable, under these commands:

BuildsCommand
1.0.0.130–1.0.0.131191
1.0.0.132–1.0.0.134192
1.0.0.135194
1.0.0.136–1.0.0.137192
1.0.0.138194
FieldTypeWhat it is
slotu8Which of the unit’s effect slots it sits in.
kindu8What sort of effect it is.
countu8How many of it are stacked there.
hiddenu8Whether the client keeps it off the unit’s display. Values: 0 shown, 1 hidden.
effectu32Which effect, by the number its name gives, as Objects and identifiers works it out.
runningForf32How long it has already run, in seconds.
lastsf32How long it runs in total, in seconds.
casteru32The unit that put it there.
Vectors (5)

shown-on-1-0-0-131, shown-on-1-0-0-134, shown-on-1-0-0-135, shown-on-1-0-0-136, shown-on-1-0-0-138

In 1.0.0.139–1.0.0.140

Command 193 on events, sent by the server, reliable.

FieldTypeWhat it is
slotu8Which of the unit’s effect slots it sits in, 0 to 63. A client ignores the message for any higher slot.
kindu8What sort of effect it is.
countu8How many of it are stacked there. 0 clears the slot rather than adding the effect.
hiddenu8Whether the client keeps it off the unit’s display: 1 hides it, and any other value shows it. Values: 0 shown, 1 hidden.
effectu32Which effect, by the number its name gives, as Objects and identifiers works it out. A client ignores the message where it is 0 or names an effect it does not know.
runningForf32How long it has already run, in seconds.
lastsf32How long it has left to run, in seconds from when the message arrives: the whole run is runningFor plus lasts.
casteru32The unit that put it there.
Vectors (1)

shown-on-1-0-0-140

In 1.0.0.141–1.0.0.148

Carried on events, sent by the server, reliable, under these commands:

BuildsCommand
1.0.0.141–1.0.0.143195
1.0.0.144–1.0.0.148183
FieldTypeWhat it is
slotu8Which of the unit’s effect slots it sits in.
kindu8What sort of effect it is.
countu8How many of it are stacked there.
hiddenu8Whether the client keeps it off the unit’s display. Values: 0 shown, 1 hidden.
effectu32Which effect, by the number its name gives, as Objects and identifiers works it out.
runningForf32How long it has already run, in seconds.
lastsf32How long it runs in total, in seconds.
casteru32The unit that put it there.
Vectors (2)

shown-on-1-0-0-143, shown-on-1-0-0-148

In 1.0.0.149–3.1.0.0

Carried on events, sent by the server, reliable, under these commands:

BuildsCommand
1.0.0.149183
1.0.0.150–3.1.0.0180
FieldTypeWhat it is
slotu8Which of the unit’s effect slots it sits in.
kindu8What sort of effect it is.
countu8How many of it are stacked there.
hiddenu8Whether the client keeps it off the unit’s display. Values: 0 shown, 1 hidden.
effectu32Which effect, by the number its name gives, as Objects and identifiers works it out.
packageu32Which set of art and sound the client draws it with.
runningForf32How long it has already run, in seconds.
lastsf32How long it runs in total, in seconds.
casteru32The unit that put it there.
Vectors (2)

shown-on-1-0-0-149, shown-on-1-0-0-154

EffectReplaced

What a server sends about a lasting effect in a slot that already holds one. The header names the unit carrying the effect, which can differ from the caster named inside.

Definition.

In 1.0.0.130–1.0.0.143

Command 50 on events, sent by the server, reliable.

It carries no effect number: a client re-times the effect already in the slot and takes caster as its caster again. Where the slot is empty, nothing happens.

FieldTypeWhat it is
slotu8Which of the unit’s effect slots.
runningForf32How long the effect has already run, in seconds.
lastsf32How long it has left to run, in seconds from when the message arrives. A client counts the effect as starting at arrival: runningFor moves neither its start nor its end.
casteru32The unit that put it there.
Vectors (1)

one-on-1-0-0-143

In 1.0.0.144–3.1.0.0

Command 47 on events, sent by the server, reliable.

It puts a lasting effect in the slot, keeping the slot rather than taking the old one off first.

FieldTypeWhat it is
slotu8Which of the unit’s effect slots.
runningForf32How long the effect has already run, in seconds.
lastsf32How long it runs in total, in seconds.
casteru32The unit that put it there.

EffectCount

What a server sends to restate how many of a lasting effect are stacked on a unit. The header names the unit this is about.

Definition.

In 1.0.0.130–1.0.0.143

Command 31 on events, sent by the server, reliable.

Where the slot is empty, the whole message does nothing.

FieldTypeWhat it is
slotu8Which slot.
countu8How many are stacked there now. 0 takes the effect off.
timeLeftf32How long it has left to run, in seconds from when the message arrives.
runningForf32How long it has already run, in seconds: a client counts its start that long before the message arrived.
casteru32The unit that put it there.
Vectors (1)

one-on-1-0-0-143

In 1.0.0.144–3.1.0.0

Command 28 on events, sent by the server, reliable.

FieldTypeWhat it is
slotu8Which slot.
countu8How many are stacked there now.
timeLeftf32How long it has left to run, in seconds. With runningFor it adds up to the whole run the effect was added with.
runningForf32How long it has already run, in seconds.
casteru32The unit that put it there.

EffectRemoved

What a server sends to take a lasting effect off a unit. The header names the unit this is about.

Definition.

In 1.0.0.130–1.0.0.137

Carried on events, sent by the server, reliable, under these commands:

BuildsCommand
1.0.0.130–1.0.0.131127
1.0.0.132–1.0.0.137128
FieldTypeWhat it is
slotu8Which slot it sat in.
effectu32Which effect, by the number its name gives, as Objects and identifiers works it out.
Vectors (2)

one-on-1-0-0-131, one-on-1-0-0-136

In 1.0.0.138–3.1.0.0

Carried on events, sent by the server, reliable, under these commands:

BuildsCommand
1.0.0.138–1.0.0.143130
1.0.0.144–1.0.0.149124
1.0.0.150–3.1.0.0121
FieldTypeWhat it is
slotu8Which slot it sat in.
effectu32Which effect, by the number its name gives, as Objects and identifiers works it out.
timeLeftf32How long the effect had left to run when it was taken off, in seconds.
Vectors (3)

one-on-1-0-0-143, one-on-1-0-0-149, one-on-1-0-0-154

EffectAddedGroup

What a server sends to put one effect on several units at once. The header names no object it acts on: the units are listed below.

Definition.

In 1.0.0.130–1.0.0.137

Carried on events, sent by the server, reliable, under these commands:

BuildsCommand
1.0.0.130–1.0.0.131107
1.0.0.132–1.0.0.137108
FieldTypeWhat it is
kindu8What sort of effect it is.
effectu32Which effect, by the number its name gives.
runningForf32How long it has already run, in seconds.
lastsf32How long it runs in total, in seconds.
countu8How many units follow.
entriescount in count × recordThe units, one place each.
entries[].unitu32The unit carrying the effect.
entries[].casteru32The unit that put it there.
entries[].slotu8Which of the unit’s effect slots it sits in.
entries[].stacksu8How many are stacked there.
entries[].hiddenu8Whether the client keeps it off the unit’s display.
Vectors (2)

one-on-1-0-0-131, one-on-1-0-0-136

In 1.0.0.138–1.0.0.143

Command 110 on events, sent by the server, reliable.

FieldTypeWhat it is
kindu8What sort of effect it is.
effectu32Which effect, by the number its name gives.
runningForf32How long it has already run, in seconds.
lastsf32How long it has left to run, in seconds from when the message arrives: the whole run is runningFor plus lasts.
countu8How many units follow.
entriescount in count × recordThe units, one place each.
entries[].unitu32The unit carrying the effect.
entries[].casteru32The unit that put it there.
entries[].slotu8Which of the unit’s effect slots it sits in.
entries[].stacksu8How many are stacked there. 0 takes the effect out of the slot.
entries[].hiddenu8Whether the client keeps it off the unit’s display: 1 hides it, and any other value shows it.
Vectors (1)

one-on-1-0-0-143

In 1.0.0.144–1.0.0.148

Command 104 on events, sent by the server, reliable.

FieldTypeWhat it is
kindu8What sort of effect it is.
effectu32Which effect, by the number its name gives.
runningForf32How long it has already run, in seconds.
lastsf32How long it runs in total, in seconds.
countu8How many units follow.
entriescount in count × recordThe units, one place each.
entries[].unitu32The unit carrying the effect.
entries[].casteru32The unit that put it there.
entries[].slotu8Which of the unit’s effect slots it sits in.
entries[].stacksu8How many are stacked there.
entries[].hiddenu8Whether the client keeps it off the unit’s display.
Vectors (1)

one-on-1-0-0-148

In 1.0.0.149–3.1.0.0

Carried on events, sent by the server, reliable, under these commands:

BuildsCommand
1.0.0.149104
1.0.0.150–3.1.0.0101
FieldTypeWhat it is
kindu8What sort of effect it is.
effectu32Which effect, by the number its name gives.
packageu32Which set of art and sound the client draws it with.
runningForf32How long it has already run, in seconds.
lastsf32How long it runs in total, in seconds.
countu8How many units follow.
entriescount in count × recordThe units, one place each.
entries[].unitu32The unit carrying the effect.
entries[].casteru32The unit that put it there.
entries[].slotu8Which of the unit’s effect slots it sits in.
entries[].stacksu8How many are stacked there.
entries[].hiddenu8Whether the client keeps it off the unit’s display.
Vectors (2)

one-on-1-0-0-149, one-on-1-0-0-154

EffectReplacedGroup

What a server sends about the effect in one slot of several units at once. The header names no object it acts on: the units are listed below.

Definition.

In 1.0.0.130–1.0.0.143

Command 33 on events, sent by the server, reliable.

A client takes each entry as it takes an EffectReplaced for that unit, with the two times above: there is no effect number, so it re-times the effect already in the slot, and does nothing where the slot is empty.

FieldTypeWhat it is
runningForf32How long the effect has already run, in seconds.
lastsf32How long it has left to run, in seconds from when the message arrives. runningFor moves neither its start nor its end.
countu8How many units follow.
entriescount in count × recordThe units, one place each.
entries[].unitu32The unit carrying the effect.
entries[].casteru32The unit that put it there.
entries[].slotu8Which of the unit’s effect slots.
Vectors (1)

one-on-1-0-0-143

In 1.0.0.144–3.1.0.0

Command 30 on events, sent by the server, reliable.

It replaces one effect with another on each unit.

FieldTypeWhat it is
runningForf32How long the effect has already run, in seconds.
lastsf32How long it runs in total, in seconds.
countu8How many units follow.
entriescount in count × recordThe units, one place each.
entries[].unitu32The unit carrying the effect.
entries[].casteru32The unit that put it there.
entries[].slotu8Which of the unit’s effect slots.

EffectCountGroup

What a server sends to restate how many of an effect are stacked on several units at once. The header names no object it acts on: the units are listed below.

Definition.

In 1.0.0.130–1.0.0.138

Carried on events, sent by the server, reliable, under these commands:

BuildsCommand
1.0.0.130–1.0.0.131199
1.0.0.132–1.0.0.134200
1.0.0.135202
1.0.0.136–1.0.0.137200
1.0.0.138202
FieldTypeWhat it is
lastsf32How long the effect runs in total, in seconds.
runningForf32How long it has already run, in seconds.
countu8How many units follow.
entriescount in count × recordThe units, one place each.
entries[].unitu32The unit carrying the effect.
entries[].casteru32The unit that put it there.
entries[].slotu8Which of the unit’s effect slots it sits in.
entries[].stacksu8How many are stacked there now.
Vectors (5)

one-on-1-0-0-131, one-on-1-0-0-134, one-on-1-0-0-135, one-on-1-0-0-136, one-on-1-0-0-138

In 1.0.0.139–1.0.0.140

Command 201 on events, sent by the server, reliable.

FieldTypeWhat it is
lastsf32How long the effect has left to run, in seconds from when the message arrives, as EffectCount’s timeLeft.
runningForf32How long it has already run, in seconds.
countu8How many units follow.
entriescount in count × recordThe units, one place each.
entries[].unitu32The unit carrying the effect.
entries[].casteru32The unit that put it there.
entries[].slotu8Which of the unit’s effect slots it sits in.
entries[].stacksu8How many are stacked there now. 0 takes the effect off.
Vectors (1)

one-on-1-0-0-140

In 1.0.0.141–3.1.0.0

Carried on events, sent by the server, reliable, under these commands:

BuildsCommand
1.0.0.141–1.0.0.143203
1.0.0.144–1.0.0.149191
1.0.0.150–3.1.0.0188
FieldTypeWhat it is
lastsf32How long the effect runs in total, in seconds.
runningForf32How long it has already run, in seconds.
countu8How many units follow.
entriescount in count × recordThe units, one place each.
entries[].unitu32The unit carrying the effect.
entries[].casteru32The unit that put it there.
entries[].slotu8Which of the unit’s effect slots it sits in.
entries[].stacksu8How many are stacked there now.
Vectors (3)

one-on-1-0-0-143, one-on-1-0-0-149, one-on-1-0-0-154

EffectRemovedGroup

What a server sends to take one effect off several units at once. The header names no object it acts on: the units are listed below.

Definition.

In 1.0.0.130–1.0.0.137

Carried on events, sent by the server, reliable, under these commands:

BuildsCommand
1.0.0.130–1.0.0.131155
1.0.0.132–1.0.0.134156
1.0.0.135158
1.0.0.136–1.0.0.137156
FieldTypeWhat it is
effectu32Which effect, by the number its name gives.
countu8How many units follow.
entriescount in count × recordThe units, one place each.
entries[].unitu32The unit carrying the effect.
entries[].slotu8Which slot it sat in.
Vectors (4)

one-on-1-0-0-131, one-on-1-0-0-134, one-on-1-0-0-135, one-on-1-0-0-136

In 1.0.0.138–3.1.0.0

Carried on events, sent by the server, reliable, under these commands:

BuildsCommand
1.0.0.138158
1.0.0.139–1.0.0.143157
1.0.0.144–1.0.0.149148
1.0.0.150–3.1.0.0145
FieldTypeWhat it is
effectu32Which effect, by the number its name gives.
countu8How many units follow.
entriescount in count × recordThe units, one place each.
entries[].unitu32The unit carrying the effect.
entries[].slotu8Which slot it sat in.
entries[].timeLeftf32How long it had left to run, in seconds.
Vectors (4)

one-on-1-0-0-138, one-on-1-0-0-143, one-on-1-0-0-149, one-on-1-0-0-154

ParticlesCreated

What a server sends to start drawing sets of particles. The header names no object: it carries zero.

Definition.

In every range of this book

Carried on events, sent by the server, reliable, under these commands:

BuildsCommand
1.0.0.130–1.0.0.131140
1.0.0.132–1.0.0.137141
1.0.0.138143
1.0.0.139–1.0.0.143142
1.0.0.144–1.0.0.145136
1.0.0.146–1.0.0.149136
1.0.0.150–3.1.0.0133
FieldTypeWhat it is
groupCountu8How many sets follow.
groupscount in groupCount × ParticleGroupThe sets themselves.
Vectors (7)

one-on-1-0-0-131, one-on-1-0-0-136, one-on-1-0-0-138, one-on-1-0-0-143, one-on-1-0-0-145, one-on-1-0-0-149, one-on-1-0-0-154

KillParticle

What a server sends to stop a particle a client is drawing.

Definition.

In 1.0.0.130–1.0.0.143

Command 61 on events, sent by the server, reliable.

FieldTypeWhat it is
particleu32The particle to stop.
Vectors (1)

one-on-1-0-0-143

In 1.0.0.144–3.1.0.0

Carried on events, sent by the server, reliable, under these commands:

BuildsCommand
1.0.0.144–1.0.0.14958
1.0.0.150–3.1.0.055

The header names the particle.

FieldTypeWhat it is
particleu32The particle to stop.
Vectors (1)

one-on-1-0-0-149

ParticleSource

What a server sends to drive a value of the lasting particle effects on a unit from something that changes. A client ignores it where the id names no unit it knows. The header carries zero.

Definition.

In 1.0.0.130–1.0.0.149

Carried on events, sent by the server, reliable, under these commands:

BuildsCommand
1.0.0.130–1.0.0.131219
1.0.0.132–1.0.0.134220
1.0.0.135222
1.0.0.136–1.0.0.137220
1.0.0.138222
1.0.0.139–1.0.0.140221
1.0.0.141–1.0.0.143223
1.0.0.144–1.0.0.149210
FieldTypeWhat it is
unitu32The unit: a champion, minion, turret or other unit.
slotu8Which of the effects’ inputs to drive.
pointu8Which point, for source 0. It has no effect unless source is 0.
sourceu8What drives it. Any other value drives it from nothing. Any other value clears the binding. Values: 0 capturePoint, 1 resource.
Vectors (8)

resource-on-1-0-0-131, resource-on-1-0-0-134, resource-on-1-0-0-135, resource-on-1-0-0-136, resource-on-1-0-0-138, resource-on-1-0-0-140, resource-on-1-0-0-143, resource-on-1-0-0-149

In 1.0.0.150–3.1.0.0

Command 207 on events, sent by the server, reliable.

FieldTypeWhat it is
unitu32The unit: a champion, minion, turret or other unit.
slotu8Which of the effects’ inputs to drive.
pointu8Which point, for source 0. It has no effect unless source is 0.
sourceu8What drives it. Any other value drives it from nothing. Values: 0 capturePoint, 1 resource, 2 resourceSmoothed.
Vectors (1)

resource-on-1-0-0-154

AppearancePushed

What a server sends to lay a new look over a unit’s own. The header names the unit.

Definition.

In 1.0.0.130–1.0.0.134

Carried on events, sent by the server, reliable, under these commands:

BuildsCommand
1.0.0.130–1.0.0.131159
1.0.0.132–1.0.0.134160

A client stops a basic attack the unit is making first. Looks stack: the newest shows, and AppearancePopped takes away the one its entry names. An animated building instead looks for a look of the same name whose skin equals entry, adds the look under skin where it finds none, and how has no effect on it.

FieldTypeWhat it is
entryu32Names this look, so that AppearancePopped can name it.
overrideSpellsu8Set where the unit’s spells change with it. Any nonzero value sets it.
assettext, ended by a zero byteThe name the client loads it under, ended by a zero byte. The name and its zero byte take at most 64 bytes.
Vectors (2)

one-on-1-0-0-131, one-on-1-0-0-134

In 1.0.0.135–1.0.0.138

Carried on events, sent by the server, reliable, under these commands:

BuildsCommand
1.0.0.135162
1.0.0.136–1.0.0.137160
1.0.0.138162

A client stops a basic attack the unit is making first. Looks stack: the newest shows, and AppearancePopped takes away the one its entry names. An animated building instead looks for a look of the same name whose skin equals entry, adds the look under skin where it finds none, and how has no effect on it.

FieldTypeWhat it is
entryu32Names this look, so that AppearancePopped can name it.
overrideSpellsu8Set where the unit’s spells change with it. Any nonzero value sets it.
modelOnlyu8Set where only the model changes. Any nonzero value sets it.
assettext, ended by a zero byteThe name the client loads it under, ended by a zero byte. The name and its zero byte take at most 64 bytes.
Vectors (3)

one-on-1-0-0-135, one-on-1-0-0-136, one-on-1-0-0-138

In 1.0.0.139–1.0.0.143

Command 161 on events, sent by the server, reliable.

A client stops a basic attack the unit is making first. Looks stack: the newest shows, and AppearancePopped takes away the one its entry names. A building ignores it.

FieldTypeWhat it is
entryu32Names this look, so that AppearancePopped can name it.
overrideSpellsu8Set where the unit’s spells change with it. Any nonzero value sets it.
modelOnlyu8Set where only the model changes. Any nonzero value sets it.
assettext, ended by a zero byteThe name the client loads it under, ended by a zero byte.
Vectors (1)

one-on-1-0-0-143

In 1.0.0.144–1.0.0.146

Command 151 on events, sent by the server, reliable.

A client stops a basic attack the unit is making first. Looks stack: the newest shows, and AppearancePopped takes away the one its entry names. An animated building instead looks for a look of the same name whose skin equals entry, adds the look under skin where it finds none, and how has no effect on it.

FieldTypeWhat it is
entryu32Names this look, so that AppearancePopped can name it.
overrideSpellsu8Set where the unit’s spells change with it. Any nonzero value sets it.
modelOnlyu8Set where only the model changes. Any nonzero value sets it.
assettext, ended by a zero byteThe name the client loads it under, ended by a zero byte. The name and its zero byte take at most 64 bytes.
Vectors (1)

one-on-1-0-0-146

In 1.0.0.147–3.1.0.0

Carried on events, sent by the server, reliable, under these commands:

BuildsCommand
1.0.0.147–1.0.0.149151
1.0.0.150–3.1.0.0148

A client stops a basic attack the unit is making first. Looks stack: the newest shows, and AppearancePopped takes away the one its entry names. An animated building instead looks for a look of the same name whose skin equals entry, adds the look under skin where it finds none, and how has no effect on it.

FieldTypeWhat it is
entryu32Names this look, so that AppearancePopped can name it.
how1-byte bitsWhat the look changes.
how.overrideSpellsbit 0Set where the unit’s spells change with it.
how.modelOnlybit 1Set where only the model changes.
how.unusedbit 2 to 7Unused; a server writes zero.
assettext, ended by a zero byteThe name the client loads it under, ended by a zero byte. The name and its zero byte take at most 64 bytes.
Vectors (2)

one-on-1-0-0-149, one-on-1-0-0-154

AppearancePopped

What a server sends to take a look AppearancePushed laid over a unit away. The header names the unit.

Definition.

In every range of this book

Carried on events, sent by the server, reliable, under these commands:

BuildsCommand
1.0.0.130–1.0.0.131106
1.0.0.132–1.0.0.137107
1.0.0.138–1.0.0.143109
1.0.0.144–1.0.0.149103
1.0.0.150–3.1.0.0100
FieldTypeWhat it is
entryu32The look, by the name AppearancePushed gave it.
Vectors (5)

one-on-1-0-0-131, one-on-1-0-0-136, one-on-1-0-0-143, one-on-1-0-0-149, one-on-1-0-0-154

AppearanceCleared

What a server sends to take every look laid over a unit away. The header names the unit.

Definition.

In 1.0.0.135–3.1.0.0

Carried on events, sent by the server, reliable, under these commands:

BuildsCommand
1.0.0.135212
1.0.0.136–1.0.0.137210
1.0.0.138212
1.0.0.139–1.0.0.140211
1.0.0.141–1.0.0.143213
1.0.0.144–1.0.0.149200
1.0.0.150–3.1.0.0197

No body.

Vectors (7)

one-on-1-0-0-135, one-on-1-0-0-136, one-on-1-0-0-138, one-on-1-0-0-140, one-on-1-0-0-143, one-on-1-0-0-149, one-on-1-0-0-154

AnimationOverrides

What a server sends to make a unit play one set of movements wherever it would have played another. The header names the unit this is about.

Definition.

In 1.0.0.130–1.0.0.137

Carried on events, sent by the server, reliable, under these commands:

BuildsCommand
1.0.0.130–1.0.0.131110
1.0.0.132–1.0.0.137111
FieldTypeWhat it is
pairCountu8How many pairs follow.
pairscount in pairCount × AnimationOverrideEach pair naming what is replaced and what replaces it.
Vectors (2)

one-on-1-0-0-131, one-on-1-0-0-136

In 1.0.0.138–1.0.0.143

Command 113 on events, sent by the server, reliable.

A length of zero, or above 2147483647, gives an empty name and occupies no bytes after it. A server sends lengths from 0 to 2147483647. A later pair naming the same from replaces an earlier one.

FieldTypeWhat it is
pairCountu8How many pairs follow.
pairscount in pairCount × AnimationOverrideEach pair naming what is replaced and what replaces it.
Vectors (1)

one-on-1-0-0-143

In 1.0.0.144–3.1.0.0

Carried on events, sent by the server, reliable, under these commands:

BuildsCommand
1.0.0.144–1.0.0.149107
1.0.0.150–3.1.0.0104
FieldTypeWhat it is
pairCountu8How many pairs follow.
pairscount in pairCount × AnimationOverrideEach pair naming what is replaced and what replaces it.
Vectors (2)

one-on-1-0-0-149, one-on-1-0-0-154

PlayAnimation

What a server sends to make a unit play an animation. The header names the unit.

Definition.

In 1.0.0.130–1.0.0.151

Carried on events, sent by the server, reliable, under these commands:

BuildsCommand
1.0.0.130–1.0.0.131184
1.0.0.132–1.0.0.134185
1.0.0.135187
1.0.0.136–1.0.0.137185
1.0.0.138187
1.0.0.139–1.0.0.140186
1.0.0.141–1.0.0.143188
1.0.0.144–1.0.0.149176
1.0.0.150–1.0.0.151173

A unit playing a locked animation ignores the message. A client stops any emote playing first, and plays at normal speed.

FieldTypeWhat it is
flags4-byte bitsHow the animation plays.
flags.loopbit 0Set to loop it.
flags.holdLastFramebit 1Set to hold its last frame once it ends.
flags.queuebit 2Set to play it once the animation playing ends, rather than now.
flags.queueLastbit 3Set to play it after every animation already waiting.
flags.replaceablebit 4Set to let the next animation queued after it start at once.
flags.lockedbit 5Set where the unit ignores this message while the animation plays.
flags.noRestartbit 6Where the same animation already plays on the unit, a client keeps it and starts nothing new.
flags.noFadeInbit 7The switch is instant, with no blend; only where the animation starts at once rather than queued.
flags.jumpToEndbit 8The animation is held at its end: without loop or holdLastFrame it ends at once, and with holdLastFrame it shows its last frame.
flags.unusedbit 9 to 31Unused; a server writes zero.
scaleTimef32Where above zero, how many seconds the animation is stretched or squeezed to last.
animationtext, ended by a zero byteThe animation’s name, ended by a zero byte, the two taking at most 64 bytes. Nothing plays for a name the unit does not have.
Vectors (9)

one-on-1-0-0-131, one-on-1-0-0-134, one-on-1-0-0-135, one-on-1-0-0-136, one-on-1-0-0-138, one-on-1-0-0-140, one-on-1-0-0-143, one-on-1-0-0-149, one-on-1-0-0-151

In 1.0.0.152–3.1.0.0

Command 173 on events, sent by the server, reliable.

A unit playing a locked animation ignores the message. A client stops any emote playing first, and plays at normal speed.

FieldTypeWhat it is
flags4-byte bitsHow the animation plays.
flags.loopbit 0Set to loop it.
flags.holdLastFramebit 1Set to hold its last frame once it ends.
flags.queuebit 2Set to play it once the animation playing ends, rather than now.
flags.queueLastbit 3Set to play it after every animation already waiting.
flags.replaceablebit 4Set to let the next animation queued after it start at once.
flags.lockedbit 5Set where the unit ignores this message while the animation plays.
flags.noBlendbit 6Set to switch to it at once rather than blend in.
flags.lockedFromIdlebit 7Set where idle animations cannot fade it out.
flags.reservedbit 8What it does is not recorded for this range; a server writes zero.
flags.unusedbit 9 to 31Unused; a server writes zero.
scaleTimef32Where above zero, how many seconds the animation is stretched or squeezed to last.
startProgressf32Where above zero, how far into the animation it starts, as a fraction from 0 to 1.
animationtext, ended by a zero byteThe animation’s name, ended by a zero byte, the two taking at most 64 bytes. Nothing plays for a name the unit does not have.
Vectors (1)

one-on-1-0-0-154

StopAnimation

What a server sends to stop an animation a unit is playing. The header names the unit.

Definition.

In 1.0.0.130–1.0.0.137

Command 43 on events, sent by the server, reliable.

FieldTypeWhat it is
flags1-byte bitsHow it stops.
flags.fadebit 0Set where the animation fades out.
flags.ignoreLockbit 1Set where a lock on the animation is ignored.
flags.stopAllbit 2Set where every animation stops.
flags.unusedbit 3 to 7Unused; a server writes zero.
Vectors (1)

one-on-1-0-0-136

In 1.0.0.138–3.1.0.0

Carried on events, sent by the server, reliable, under these commands:

BuildsCommand
1.0.0.138–1.0.0.14343
1.0.0.144–3.1.0.040
FieldTypeWhat it is
flags1-byte bitsHow it stops.
flags.fadebit 0Set where the animation fades out.
flags.ignoreLockbit 1Set where a lock on the animation is ignored.
flags.stopAllbit 2Set where every animation stops when the name below is empty.
flags.unusedbit 3 to 7Unused; a server writes zero.
animationtext, ended by a zero byteThe animation’s name, ended by a zero byte, or empty.
Vectors (1)

one-on-1-0-0-143

PauseAnimation

What a server sends to pause or resume a unit’s animation. The header names the unit.

Definition.

In 1.0.0.130–1.0.0.146

Carried on events, sent by the server, reliable, under these commands:

BuildsCommand
1.0.0.130–1.0.0.131116
1.0.0.132–1.0.0.137117
1.0.0.138–1.0.0.143119
1.0.0.144–1.0.0.146113
FieldTypeWhat it is
pausedu8Set to pause, clear to resume. Any nonzero value sets it.
Vectors (4)

one-on-1-0-0-131, one-on-1-0-0-136, one-on-1-0-0-143, one-on-1-0-0-146

In 1.0.0.147–3.1.0.0

Carried on events, sent by the server, reliable, under these commands:

BuildsCommand
1.0.0.147–1.0.0.149113
1.0.0.150–3.1.0.0110
FieldTypeWhat it is
state1-byte bitsWhether to pause.
state.pausedbit 0Set to pause, clear to resume.
state.unusedbit 1 to 7Unused; a server writes zero.
Vectors (2)

one-on-1-0-0-149, one-on-1-0-0-154

FadeTo

What a server sends to fade a unit towards an opacity over time. The header names the unit.

Definition.

In 1.0.0.130–1.0.0.140

Carried on events, sent by the server, reliable, under these commands:

BuildsCommand
1.0.0.130–1.0.0.131186
1.0.0.132–1.0.0.134187
1.0.0.135189
1.0.0.136–1.0.0.137187
1.0.0.138189
1.0.0.139–1.0.0.140188
FieldTypeWhat it is
fadei16Names this fade, so that FadeRemoved can name it.
targetf32The opacity it fades to, from 0 for unseen to 1 for solid.
timef32How long the fade takes, in seconds.
Vectors (6)

one-on-1-0-0-131, one-on-1-0-0-134, one-on-1-0-0-135, one-on-1-0-0-136, one-on-1-0-0-138, one-on-1-0-0-140

In 1.0.0.141–3.1.0.0

Carried on events, sent by the server, reliable, under these commands:

BuildsCommand
1.0.0.141–1.0.0.143190
1.0.0.144–1.0.0.149178
1.0.0.150–3.1.0.0175
FieldTypeWhat it is
fadei16Names this fade, so that FadeRemoved can name it.
timef32How long the fade takes, in seconds.
targetf32The opacity it fades to, from 0 for unseen to 1 for solid.
Vectors (3)

one-on-1-0-0-143, one-on-1-0-0-149, one-on-1-0-0-154

FadeRemoved

What a server sends to undo a fade on a unit. The header names the unit.

Definition.

In every range of this book

Carried on events, sent by the server, reliable, under these commands:

BuildsCommand
1.0.0.130–1.0.0.14352
1.0.0.144–3.1.0.049
FieldTypeWhat it is
fadei16The fade, by the name FadeTo gave it.
Vectors (1)

one-on-1-0-0-143

FadeMinions

What a server sends to fade one side’s minions. The header carries zero.

Definition.

In every range of this book

Carried on events, sent by the server, reliable, under these commands:

BuildsCommand
1.0.0.130–1.0.0.131212
1.0.0.132–1.0.0.134213
1.0.0.135215
1.0.0.136–1.0.0.137213
1.0.0.138215
1.0.0.139–1.0.0.140214
1.0.0.141–1.0.0.143216
1.0.0.144–1.0.0.149203
1.0.0.150–3.1.0.0200
FieldTypeWhat it is
sideu8Which side, or zero for both.
amountf32The opacity they fade to, from 0 for unseen to 1 for solid.
timef32How long the fade takes, in seconds.
Vectors (9)

one-on-1-0-0-131, one-on-1-0-0-134, one-on-1-0-0-135, one-on-1-0-0-136, one-on-1-0-0-138, one-on-1-0-0-140, one-on-1-0-0-143, one-on-1-0-0-149, one-on-1-0-0-154

NexusIdle

What a server sends to put each nexus into its idle particles. The header carries zero.

Definition.

In every range of this book

Command 4 on events, sent by the server, reliable.

No body.

NexusSkin

What a server sends to change how one side’s nexus looks. The header carries zero.

Definition.

In every range of this book

Carried on events, sent by the server, reliable, under these commands:

BuildsCommand
1.0.0.130–1.0.0.131119
1.0.0.132–1.0.0.137120
1.0.0.138–1.0.0.143122
1.0.0.144–1.0.0.149116
1.0.0.150–3.1.0.0113
FieldTypeWhat it is
sideu8Which side.
skinu32Which look.
Vectors (5)

one-on-1-0-0-131, one-on-1-0-0-136, one-on-1-0-0-143, one-on-1-0-0-149, one-on-1-0-0-154

ScreenTint

What a server sends to tint a side’s screens, or to take a tint away. The header names no object: a server writes zero.

Definition.

In 1.0.0.130–1.0.0.138

Carried on events, sent by the server, reliable, under these commands:

BuildsCommand
1.0.0.130–1.0.0.131228
1.0.0.132–1.0.0.134229
1.0.0.135231
1.0.0.136–1.0.0.137229
1.0.0.138231
FieldTypePresent whenWhat it is
fadeInu81 brings a tint in, and the colour and weight below follow; 0 takes it away, and they do not.
timef32How long the change takes, in seconds.
sidei32Which side sees it.
colouru32fadeIn setThe tint, as blue, green, red and opacity bytes.
weightf32fadeIn setHow strongly it applies at most.
Vectors (10)

another-on-1-0-0-131, one-on-1-0-0-131, another-on-1-0-0-134, one-on-1-0-0-134, another-on-1-0-0-135, one-on-1-0-0-135, another-on-1-0-0-136, one-on-1-0-0-136, another-on-1-0-0-138, one-on-1-0-0-138

In 1.0.0.139–1.0.0.140

Command 230 on events, sent by the server, reliable.

FieldTypePresent whenWhat it is
fadeInu81 brings a tint in, and the colour and weight below follow; 0 takes it away, and they do not.
timef32How long the change takes, in seconds.
sidei32Which side sees it: 0 every client, and any other value only a client whose own player is on that side. A client with no player of its own takes only 0 and 100.
colouru32fadeIn setThe tint, as blue, green, red and opacity bytes.
weightf32fadeIn setHow strongly it applies at most.
Vectors (2)

another-on-1-0-0-140, one-on-1-0-0-140

In 1.0.0.141–3.1.0.0

Carried on events, sent by the server, reliable, under these commands:

BuildsCommand
1.0.0.141–1.0.0.143232
1.0.0.144–1.0.0.149219
1.0.0.150–3.1.0.0216
FieldTypePresent whenWhat it is
fadeInu81 brings a tint in, and the colour and weight below follow; 0 takes it away, and they do not.
timef32How long the change takes, in seconds.
sidei32Which side sees it.
colouru32fadeIn setThe tint, as blue, green, red and opacity bytes.
weightf32fadeIn setHow strongly it applies at most.
Vectors (6)

another-on-1-0-0-143, one-on-1-0-0-143, another-on-1-0-0-149, one-on-1-0-0-149, another-on-1-0-0-154, one-on-1-0-0-154

VoiceOverride

What a server sends to change or reset the voice a unit speaks with. The header names the unit.

Definition.

In 1.0.0.130–1.0.0.146

Carried on events, sent by the server, reliable, under these commands:

BuildsCommand
1.0.0.130–1.0.0.131158
1.0.0.132–1.0.0.134159
1.0.0.135161
1.0.0.136–1.0.0.137159
1.0.0.138161
1.0.0.139–1.0.0.143160
1.0.0.144–1.0.0.146150
FieldTypePresent whenWhat it is
flags1-byte bitsWhether to reset. A client compares the whole byte with 1, so a server writes the other bits zero.
flags.resetbit 0Set where the unit returns to its own voice; no name follows.
flags.unusedbit 1 to 7Unused; a server writes zero.
voicetext, ended by a zero byteflags.reset = 0The voice’s name, ended by a zero byte.
Vectors (14)

another-on-1-0-0-131, one-on-1-0-0-131, another-on-1-0-0-134, one-on-1-0-0-134, another-on-1-0-0-135, one-on-1-0-0-135, another-on-1-0-0-136, one-on-1-0-0-136, another-on-1-0-0-138, one-on-1-0-0-138, another-on-1-0-0-143, one-on-1-0-0-143, another-on-1-0-0-146, one-on-1-0-0-146

In 1.0.0.147–3.1.0.0

Carried on events, sent by the server, reliable, under these commands:

BuildsCommand
1.0.0.147–1.0.0.149150
1.0.0.150–3.1.0.0147
FieldTypePresent whenWhat it is
flags1-byte bitsWhether to reset.
flags.resetbit 0Set where the unit returns to its own voice; no name follows.
flags.unusedbit 1 to 7Unused; a server writes zero.
voicetext, ended by a zero byteflags.reset = 0The voice’s name, ended by a zero byte.
Vectors (4)

another-on-1-0-0-149, one-on-1-0-0-149, another-on-1-0-0-154, one-on-1-0-0-154