VisualGearTypes.wiki
changeset 2208 086c9a18d2ff
parent 2207 ba68343f2a10
child 2209 1974cb9cb869
equal deleted inserted replaced
2207:ba68343f2a10 2208:086c9a18d2ff
    78  * `Frame`: !AmmoType ID of ammo to display (see [AmmoTypes])
    78  * `Frame`: !AmmoType ID of ammo to display (see [AmmoTypes])
    79 
    79 
    80 == `vgtHealthTag` ==
    80 == `vgtHealthTag` ==
    81 A health/damage tag for hedgehogs. It shows a whole number surrounded by a simple border. `dX` and `dY` can be used for moving it around.
    81 A health/damage tag for hedgehogs. It shows a whole number surrounded by a simple border. `dX` and `dY` can be used for moving it around.
    82 
    82 
    83 This is shown at the end of a turn to show the total damage received by each hedgehog in that turn.
    83 This is shown at the end of a turn to show the total damage received by each hedgehog in that turn, or when a hedgehog drowned.
    84 But this visual gear is also very useful to show an arbitrary whole number on the screen.
    84 But this visual gear is also very useful to show an arbitrary whole number on the screen.
    85 
    85 
    86 By default, it is white and moves upwards a few pixels before it disappears. Set `dX` and `dY` to 0 to disable movement.
    86 By default, it is white and moves upwards a few pixels before it disappears. Set `dX` and `dY` to 0 to disable movement. If this visual gear was spawned below the water line (`Y>WaterLine`), it will disappear as so.n `Y-10<WaterLine` is `true`)
    87 
    87 
    88  * `Angle`: Scale ratio. `1` = 100%
    88  * `Angle`: Scale ratio. `1` = 100%
    89  * `Frame`: If `0`, its position is relative to the landscape. If non-zero, it will align to the screen instead
    89  * `Frame`: If `0`, its position is relative to the landscape. If non-zero, it will align to the screen instead
    90  * `State`: Number to display (must be a whole number)
    90  * `State`: Number to display (must be a whole number)
    91  * `Timer`: Expiration timer
    91  * `Timer`: Expiration timer