VisualGearTypes.wiki
changeset 2214 46d72748f62a
parent 2213 bed46cba92ef
child 2215 4fc010b6bbba
equal deleted inserted replaced
2213:bed46cba92ef 2214:46d72748f62a
    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, or when a hedgehog drowned.
    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. If this visual gear was spawned below the water line (`Y>WaterLine`), it will disappear as soon  `Y-10<WaterLine` is `true`.
    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 soon  `Y-10<WaterLine` is `true` and `Timer` is ignored.
    87 
    87 
    88  * `Angle`: Scale ratio (only has an effect if `Frame` is non-zero). `0` or `1` = 100%
    88  * `Angle`: Scale ratio (only has an effect if `Frame` is non-zero). `0` or `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 (not used if spawned below water line (`Y>WaterLine`))
    92  * `Tint`: Color of number and border
    92  * `Tint`: Color of number and border
    93  * `Scale`: Unused. Use `Angle` for scaling instead
    93  * `Scale`: Unused. Use `Angle` for scaling instead
    94 
    94 
    95 == `vgtSmallDamageTag` ==
    95 == `vgtSmallDamageTag` ==
    96 NOTE: Due to a bug, this cannot currently be used in Lua scripts.
    96 NOTE: Due to a bug, this cannot currently be used in Lua scripts.