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:
- play, stop, pause and advance a unit’s animations (
PlayAnimation,StopAnimation,PauseAnimation,AnimationAdvanced); - fade a unit or a side’s minions (
FadeTo,FadeRemoved,FadeMinions); - set how each nexus looks (
NexusIdle,NexusSkin); - tint a side’s screens (
ScreenTint); - change the voice a unit speaks with (
VoiceOverride).
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.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 182 |
| 4.11–4.20 | 183 |
| Field | Type | What it is |
|---|---|---|
| slot | u8 | Which of the unit’s effect slots it sits in. |
| kind | u8 | What sort of effect it is. |
| count | u8 | How many of it are stacked there. |
| hidden | u8 | Whether the client keeps it off the unit’s display. Values: 0 shown, 1 hidden. |
| effect | u32 | Which effect, by the number its name gives, as Objects and identifiers works it out. |
| package | u32 | Which set of art and sound the client draws it with. |
| runningFor | f32 | How long it has already run, in seconds. |
| lasts | f32 | How long it runs in total, in seconds. |
| caster | u32 | The unit that put it there. |
Vectors (6)
a-third-on-4-10, another-on-4-10, one-on-4-10, one-on-4-17, another-on-4-20, one-on-4-20
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.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 47 |
| 4.11–4.20 | 48 |
It puts a lasting effect in the slot, keeping the slot rather than taking the old one off first.
| Field | Type | What it is |
|---|---|---|
| slot | u8 | Which of the unit’s effect slots. |
| runningFor | f32 | How long the effect has already run, in seconds. |
| lasts | f32 | How long it runs in total, in seconds. |
| caster | u32 | The unit that put it there. |
Vectors (6)
a-third-on-4-10, another-on-4-10, one-on-4-10, one-on-4-17, another-on-4-20, one-on-4-20
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.
In every range of this book
Command 28 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| slot | u8 | Which slot. |
| count | u8 | How many are stacked there now. |
| timeLeft | f32 | How long it has left to run, in seconds. With runningFor it adds up to the whole run the effect was added with. |
| runningFor | f32 | How long it has already run, in seconds. |
| caster | u32 | The unit that put it there. |
Vectors (2)
EffectRemoved
What a server sends to take a lasting effect off a unit. The header names the unit this is about.
In 4.1–4.17
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 122 |
| 4.11–4.17 | 123 |
| Field | Type | What it is |
|---|---|---|
| slot | u8 | Which slot it sat in. |
| effect | u32 | Which effect, by the number its name gives, as Objects and identifiers works it out. |
| timeLeft | f32 | How long the effect had left to run when it was taken off, in seconds. |
Vectors (2)
In 4.18–4.20
Command 123 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| slot | u8 | Which slot it sat in. |
| effect | u32 | Which effect, by the number its name gives, as Objects and identifiers works it out. |
| timeLeft | f32 | How long the effect had left to run when it was taken off, in seconds. An effect that ran out carries a value at or near zero, which can fall just below it. |
Vectors (2)
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.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 103 |
| 4.11–4.20 | 104 |
| Field | Type | What it is |
|---|---|---|
| kind | u8 | What sort of effect it is. |
| effect | u32 | Which effect, by the number its name gives. |
| package | u32 | Which set of art and sound the client draws it with. |
| runningFor | f32 | How long it has already run, in seconds. |
| lasts | f32 | How long it runs in total, in seconds. |
| count | u8 | How many units follow. |
| entries | count in count × record | The units, one place each. |
| entries[].unit | u32 | The unit carrying the effect. |
| entries[].caster | u32 | The unit that put it there. |
| entries[].slot | u8 | Which of the unit’s effect slots it sits in. |
| entries[].stacks | u8 | How many are stacked there. |
| entries[].hidden | u8 | Whether the client keeps it off the unit’s display. |
Vectors (4)
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.
In every range of this book
Command 30 on events, sent by the server, reliable.
It replaces one effect with another on each unit.
| Field | Type | What it is |
|---|---|---|
| runningFor | f32 | How long the effect has already run, in seconds. |
| lasts | f32 | How long it runs in total, in seconds. |
| count | u8 | How many units follow. |
| entries | count in count × record | The units, one place each. |
| entries[].unit | u32 | The unit carrying the effect. |
| entries[].caster | u32 | The unit that put it there. |
| entries[].slot | u8 | Which of the unit’s effect slots. |
Vectors (2)
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.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 190 |
| 4.11–4.20 | 191 |
| Field | Type | What it is |
|---|---|---|
| lasts | f32 | How long the effect runs in total, in seconds. |
| runningFor | f32 | How long it has already run, in seconds. |
| count | u8 | How many units follow. |
| entries | count in count × record | The units, one place each. |
| entries[].unit | u32 | The unit carrying the effect. |
| entries[].caster | u32 | The unit that put it there. |
| entries[].slot | u8 | Which of the unit’s effect slots it sits in. |
| entries[].stacks | u8 | How many are stacked there now. |
Vectors (4)
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.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 147 |
| 4.11–4.20 | 148 |
| Field | Type | What it is |
|---|---|---|
| effect | u32 | Which effect, by the number its name gives. |
| count | u8 | How many units follow. |
| entries | count in count × record | The units, one place each. |
| entries[].unit | u32 | The unit carrying the effect. |
| entries[].slot | u8 | Which slot it sat in. |
| entries[].timeLeft | f32 | How long it had left to run, in seconds. |
Vectors (4)
EffectCounter
What a server sends to set the number an effect shows on its icon. The header names the unit carrying the effect.
In every range of this book
Command 265 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| slot | u8 | Which of the unit’s effect slots. |
| counter | i32 | The number. |
Vectors (2)
ParticlesCreated
What a server sends to start drawing sets of particles. The header names no object: it carries zero.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 134 |
| 4.11–4.20 | 135 |
| Field | Type | What it is |
|---|---|---|
| groupCount | u8 | How many sets follow. |
| groups | count in groupCount × ParticleGroup | The sets themselves. |
Vectors (6)
a-third-on-4-10, another-on-4-10, one-on-4-10, one-on-4-17, another-on-4-20, one-on-4-20
KillParticle
What a server sends to stop a particle a client is drawing.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 55 |
| 4.11–4.20 | 56 |
The header names the particle.
| Field | Type | What it is |
|---|---|---|
| particle | u32 | The particle to stop. |
Vectors (6)
a-third-on-4-10, another-on-4-10, one-on-4-10, one-on-4-17, another-on-4-20, one-on-4-20
EmitterPause
What a server sends to pause or resume a named group of particle emitters. The header carries no object this acts on.
In 4.1–4.17
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 247 |
| 4.11–4.17 | 248 |
| Field | Type | What it is |
|---|---|---|
| group | text, 256 bytes | The group’s name, padded with zero bytes. |
| operation | u32 | Nonzero to pause the emission, zero to resume it. |
| groupOperation | u8 | What to do with the group. A client acts on 0 only, pausing or resuming the group’s emission, and does nothing for any other value. Values: 0 emission. |
Vectors (2)
In 4.18–4.20
Command 248 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| group | text, 256 bytes | The group’s name, padded with zero bytes. |
| operation | u32 | Nonzero to pause the emission, zero to resume it. |
| groupOperation | u32 | What to do with the group. A client does nothing for any other value. Values: 1 emission, 2 restart. |
Vectors (1)
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.
In 4.1–4.17
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 209 |
| 4.11–4.17 | 210 |
| Field | Type | What it is |
|---|---|---|
| unit | u32 | The unit: a champion, minion, turret or other unit. |
| slot | u8 | Which of the effects’ inputs to drive. |
| point | u8 | Which point, for source 0. It has no effect unless source is 0. |
| source | u8 | What drives it. Any other value drives it from nothing. Values: 0 capturePoint, 1 resource, 2 resourceSmoothed. |
Vectors (2)
In 4.18–4.20
Command 210 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| unit | u32 | The unit: a champion, minion, turret or other unit. |
| slot | u8 | Which of the effects’ inputs to drive. |
| point | u8 | Which point, for source 1. It has no effect unless source is 1. |
| source | u32 | What drives it. Any other value drives it from nothing. Values: 1 capturePoint, 2 resource, 3 resourceSmoothed. |
Vectors (1)
AppearancePushed
What a server sends to lay a new look over a unit’s own. The header names the unit.
In 4.1–4.4
Command 150 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.
| Field | Type | What it is |
|---|---|---|
| entry | u32 | Names this look, so that AppearancePopped can name it. |
| how | 1-byte bits | What the look changes. |
| how.overrideSpells | bit 0 | Set where the unit’s spells change with it. |
| how.modelOnly | bit 1 | Set where only the model changes. |
| how.unused | bit 2 to 7 | Unused; a server writes zero. |
| skin | i32 | Which look; -1 keeps the unit’s own skin. |
| asset | text, ended by a zero byte | The name the client loads it under, ended by a zero byte. The name and its zero byte take at most 64 bytes. |
Vectors (1)
In 4.5–4.17
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.5–4.10 | 150 |
| 4.11–4.17 | 151 |
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.
| Field | Type | What it is |
|---|---|---|
| entry | u32 | Names this look, so that AppearancePopped can name it. |
| how | 1-byte bits | What the look changes. |
| how.overrideSpells | bit 0 | Set where the unit’s spells change with it. |
| how.modelOnly | bit 1 | Set where only the model changes. |
| how.replacePackage | bit 2 | Set where its art and sound change with it. |
| how.unused | bit 3 to 7 | Unused; a server writes zero. |
| skin | i32 | Which look; -1 keeps the unit’s own skin. |
| asset | text, ended by a zero byte | The name the client loads it under, ended by a zero byte. The name and its zero byte take at most 64 bytes. |
Vectors (3)
In 4.18–4.20
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.
| Field | Type | What it is |
|---|---|---|
| how | 1-byte bits | What the look changes. |
| how.overrideSpells | bit 0 | Set where the unit’s spells change with it. |
| how.modelOnly | bit 1 | Set where only the model changes. |
| how.replacePackage | bit 2 | Set where its art and sound change with it. |
| how.unused | bit 3 to 7 | Unused; a server writes zero. |
| entry | u32 | Names this look, so that AppearancePopped can name it. |
| skin | i32 | Which look; -1 keeps the unit’s own skin. |
| asset | text, ended by a zero byte | The name the client loads it under, ended by a zero byte. The name and its zero byte take at most 64 bytes. |
Vectors (1)
AppearancePopped
What a server sends to take a look AppearancePushed laid over a unit away. The header names the unit.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 102 |
| 4.11–4.20 | 103 |
| Field | Type | What it is |
|---|---|---|
| entry | u32 | The look, by the name AppearancePushed gave it. |
Vectors (4)
AppearanceCleared
What a server sends to take every look laid over a unit away. The header names the unit.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 199 |
| 4.11–4.20 | 200 |
No body.
Vectors (4)
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.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 106 |
| 4.11–4.20 | 107 |
| Field | Type | What it is |
|---|---|---|
| pairCount | u8 | How many pairs follow. |
| pairs | count in pairCount × AnimationOverride | Each pair naming what is replaced and what replaces it. |
Vectors (6)
a-third-on-4-10, another-on-4-10, one-on-4-10, one-on-4-17, another-on-4-20, one-on-4-20
PlayAnimation
What a server sends to make a unit play an animation. The header names the unit.
In 4.1–4.12
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 175 |
| 4.11–4.12 | 176 |
scaleTime and startProgress are applied only where above zero. A unit holding a locked animation ignores the message. An animated building plays at normal speed, and keepEmotes has no effect on it.
| Field | Type | What it is |
|---|---|---|
| flags | 4-byte bits | How the animation plays. |
| flags.locked | bit 0 | Set where no other animation can fade this one out. |
| flags.lockedFromIdle | bit 1 | Set where idle animations cannot fade it out. It has no effect where locked is set. |
| flags.noBlend | bit 2 | Set to switch to it at once rather than blend in. |
| flags.holdLastFrame | bit 3 | Where a non-looping animation ends, it stays on its last frame. Whether an animation loops comes from the animation’s own data. |
| flags.keepEmotes | bit 4 | Set to let an emote playing go on; clear stops it. |
| flags.unused | bit 5 to 31 | Unused; a server writes zero. |
| scaleTime | f32 | A scale on how long it plays. |
| startProgress | f32 | How far into the animation it starts. |
| animation | text, ended by a zero byte | The 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 (4)
In 4.13–4.17
Command 176 on events, sent by the server, reliable.
scaleTime and startProgress are applied only where above zero. A unit holding a locked animation ignores the message. An animated building plays at normal speed, and keepEmotes has no effect on it.
| Field | Type | What it is |
|---|---|---|
| flags | 4-byte bits | How the animation plays. |
| flags.locked | bit 0 | Set where no other animation can fade this one out. |
| flags.lockedFromIdle | bit 1 | Set where idle animations cannot fade it out. It has no effect where locked is set. |
| flags.noBlend | bit 2 | Set to switch to it at once rather than blend in. |
| flags.holdLastFrame | bit 3 | Where a non-looping animation ends, it stays on its last frame. Whether an animation loops comes from the animation’s own data. |
| flags.keepEmotes | bit 4 | Set to let an emote playing go on; clear stops it. |
| flags.unused | bit 5 to 31 | Unused; a server writes zero. |
| scaleTime | f32 | A scale on how long it plays. |
| startProgress | f32 | How far into the animation it starts. |
| speed | f32 | How fast it plays. |
| animation | text, ended by a zero byte | The 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)
In 4.18–4.20
Command 176 on events, sent by the server, reliable.
scaleTime and startProgress are applied only where above zero. A unit holding a locked animation ignores the message. An animated building plays at normal speed, and keepEmotes has no effect on it.
| Field | Type | What it is |
|---|---|---|
| flags | 1-byte bits | How the animation plays. |
| flags.locked | bit 0 | Set where no other animation can fade this one out. |
| flags.lockedFromIdle | bit 1 | Set where idle animations cannot fade it out. It has no effect where locked is set. |
| flags.noBlend | bit 2 | Set to switch to it at once rather than blend in. |
| flags.holdLastFrame | bit 3 | Where a non-looping animation ends, it stays on its last frame. Whether an animation loops comes from the animation’s own data. |
| flags.keepEmotes | bit 4 | Set to let an emote playing go on; clear stops it. |
| flags.unused | bit 5 to 7 | Unused; a server writes zero. |
| scaleTime | f32 | A scale on how long it plays. |
| startProgress | f32 | How far into the animation it starts. |
| speed | f32 | How fast it plays. |
| animation | text, ended by a zero byte | The 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)
StopAnimation
What a server sends to stop an animation a unit is playing. The header names the unit.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 40 |
| 4.11–4.20 | 41 |
| Field | Type | What it is |
|---|---|---|
| flags | 1-byte bits | How it stops. |
| flags.fade | bit 0 | Set where the animation fades out. |
| flags.ignoreLock | bit 1 | Set where a lock on the animation is ignored. |
| flags.stopAll | bit 2 | Set where every animation stops when the name below is empty. |
| flags.unused | bit 3 to 7 | Unused; a server writes zero. |
| animation | text, ended by a zero byte | The animation’s name, ended by a zero byte, or empty. |
Vectors (4)
PauseAnimation
What a server sends to pause or resume a unit’s animation. The header names the unit.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 112 |
| 4.11–4.20 | 113 |
| Field | Type | What it is |
|---|---|---|
| state | 1-byte bits | Whether to pause. |
| state.paused | bit 0 | Set to pause, clear to resume. |
| state.unused | bit 1 to 7 | Unused; a server writes zero. |
Vectors (4)
AnimationAdvanced
What a server sends to move an animation a unit is playing forward at once. The header names the unit. Where the unit plays no animation of that name, nothing happens.
In every range of this book
Command 259 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| seconds | f32 | How far forward, in seconds. |
| animation | text, 64 bytes | The animation’s name. It ends at its first zero byte. |
Vectors (2)
FadeTo
What a server sends to fade a unit towards an opacity over time. The header names the unit.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 177 |
| 4.11–4.20 | 178 |
| Field | Type | What it is |
|---|---|---|
| fade | i16 | Names this fade, so that FadeRemoved can name it. |
| time | f32 | How long the fade takes, in seconds. |
| target | f32 | The opacity it fades to, from 0 for unseen to 1 for solid. |
Vectors (4)
FadeRemoved
What a server sends to undo a fade on a unit. The header names the unit.
In 4.1–4.16
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 49 |
| 4.11–4.16 | 50 |
| Field | Type | What it is |
|---|---|---|
| fade | i16 | The fade, by the name FadeTo gave it. |
Vectors (3)
In 4.17
Command 50 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| fade | u16 | The fade, by the name FadeTo gave it. |
Vectors (1)
In 4.18–4.20
Command 50 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| fade | i16 | The fade, by the name FadeTo gave it. |
Vectors (1)
FadeMinions
What a server sends to fade one side’s minions. The header carries zero.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 202 |
| 4.11–4.20 | 203 |
| Field | Type | What it is |
|---|---|---|
| side | u8 | Which side, or zero for both. |
| amount | f32 | The opacity they fade to, from 0 for unseen to 1 for solid. |
| time | f32 | How long the fade takes, in seconds. |
Vectors (4)
NexusIdle
What a server sends to put each nexus into its idle particles. The header carries zero.
NexusSkin
What a server sends to change how one side’s nexus looks. The header carries zero.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 115 |
| 4.11–4.20 | 116 |
| Field | Type | What it is |
|---|---|---|
| side | u8 | Which side. |
| skin | u32 | Which look. |
Vectors (3)
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.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 218 |
| 4.11–4.20 | 219 |
| Field | Type | Present when | What it is |
|---|---|---|---|
| fadeIn | u8 | Nonzero brings a tint in, and the colour and weight below follow; 0 takes it away, and they do not. | |
| time | f32 | How long the change takes, in seconds. | |
| side | i32 | Which side sees it. | |
| colour | u32 | fadeIn set | The tint, as blue, green, red and opacity bytes. |
| weight | f32 | fadeIn set | How strongly it applies at most. |
Vectors (6)
another-on-4-1, one-on-4-1, another-on-4-11, one-on-4-11, another-on-4-20, one-on-4-20
VoiceOverride
What a server sends to change or reset the voice a unit speaks with. The header names the unit.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 149 |
| 4.11–4.17 | 150 |
| 4.18–4.20 | 150 |
| Field | Type | Present when | What it is |
|---|---|---|---|
| flags | 1-byte bits | Whether to reset. | |
| flags.reset | bit 0 | Set where the unit returns to its own voice; no name follows. | |
| flags.unused | bit 1 to 7 | Unused; a server writes zero. | |
| voice | text, ended by a zero byte | flags.reset = 0 | The voice’s name, ended by a zero byte. |
Vectors (5)
another-on-4-1, one-on-4-1, another-on-4-11, one-on-4-11, one-on-4-18
AnimationUnlocked
What a server sends to let a unit’s locked animation be replaced again. The header names the unit.
In 4.20
Command 303 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| animation | text, ended by a zero byte | Which animation, by name, ended by a zero byte; an empty name for any. |