VisualGearTypes.wiki
changeset 2210 73b55ce225f5
parent 2209 1974cb9cb869
child 2211 57d667aaef87
equal deleted inserted replaced
2209:1974cb9cb869 2210:73b55ce225f5
    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
    92  * `Tint`: Color of number and border
    92  * `Tint`: Color of number and border
       
    93  * `Scale`: Unused. Use `Angle` for scaling instead.
    93 
    94 
    94 == `vgtSmallDamageTag` ==
    95 == `vgtSmallDamageTag` ==
    95 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.
    96 
    97 
    97 Damage indicator, displays a damage value. Hedgewars uses this as the "small" damage tag used to instantly show damage of a single hit.
    98 Damage indicator, displays a damage value. Hedgewars uses this as the "small" damage tag used to instantly show damage of a single hit.
    98 
    99 
    99 Looks and behaves similar to `vgtHealthTag`, but is slightly smaller. Also, the movement speed cannot be changed. The parameters are the same as for `vgtHealthTag`.
   100 Looks and behaves similar to `vgtHealthTag`, but is slightly smaller. Also, the movement speed cannot be changed. Parameters are similar to `vgtHealthTag`.
   100 
   101 
   101 == `vgtSpeechBubble` ==
   102 == `vgtSpeechBubble` ==
   102 Displays a speech bubble with text. In Lua, you cannot change the text after this has been created. Use `HogSay` in Lua to spawn a speech bobble properly.
   103 Displays a speech bubble with text. In Lua, you cannot change the text after this has been created. Use `HogSay` in Lua to spawn a speech bobble properly.
   103 
   104 
   104  * `Frame`: ID of the gear to which the speech bubble belongs
   105  * `Frame`: ID of the gear to which the speech bubble belongs