HttT S04 Pan and animate Bugg

You know, I never noticed that Bugg changes until I read the code. Usually, the camera won't be on Bugg when he changes.

Pan to Bugg, wait a moment, and use the animations for kill and recruit so the player actually sees Bugg change.
This commit is contained in:
Gregory A Lundberg 2016-08-06 13:00:00 -05:00
parent fa60cbe7f1
commit 002fd030bd

View file

@ -266,6 +266,14 @@
id=Bugg
[/have_unit]
[then]
[scroll_to_unit]
id=Bugg
[/scroll_to_unit]
[delay]
time=500
[/delay]
[store_unit]
variable=bugg_flip
[filter]
@ -275,6 +283,9 @@
[/store_unit]
{NAMED_LOYAL_UNIT 2 (Sea Orc) $bugg_flip.x $bugg_flip.y (Bugg) ( _ "Bugg")}
[+unit]
animate=yes
[/unit]
{CLEAR_VARIABLE bugg_flip}