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:
parent
fa60cbe7f1
commit
002fd030bd
1 changed files with 11 additions and 0 deletions
|
@ -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}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue