How to translate color of the sprite in ZScript?
Posted: Tue Sep 29, 2020 6:17 pm
In DECORATE, I was using
to change color of the blue torch to green or red if needed, using the same sprite for blue torch.
How do I do the same in ZScript?
Code: Select all
Actor TallTorchRed : TallTorchBlue replaces RedTorch
{
translation "192:207=168:184","240:247=185:191" //blue to red
}
Actor TallTorchGreen : TallTorchBlue replaces GreenTorch
{
translation "192:207=112:127","240:247=11:12" //blue to green
}
How do I do the same in ZScript?