Define the reverse playback at sequence level.

This commit is contained in:
Matthias Mailänder
2016-05-01 12:56:01 +02:00
parent 13cf193640
commit d1022671c0
3 changed files with 5 additions and 3 deletions

View File

@@ -67,7 +67,7 @@ namespace OpenRA.Mods.Common.Traits.Render
isSmoking = true;
anim.PlayThen(info.IdleSequence,
() => anim.PlayThen(info.LoopSequence,
() => anim.PlayBackwardsThen(info.EndSequence,
() => anim.PlayThen(info.EndSequence,
() => isSmoking = false)));
}
}

View File

@@ -67,7 +67,8 @@ smoke_m:
Offset: 2, -5
ZOffset: 512
end:
Length: 26
Start: 26
Length: -26
Offset: 2, -5
ZOffset: 512

View File

@@ -132,7 +132,8 @@ smoke_m:
Offset: 2, -5
ZOffset: 512
end:
Length: 26
Start: 26
Length: -26
Offset: 2, -5
ZOffset: 512