VisualGearTypes.wiki
changeset 2065 5d8cecc058bf
parent 2064 61552dc89169
child 2066 c82278e86aa5
equal deleted inserted replaced
2064:61552dc89169 2065:5d8cecc058bf
    47 || `vgtAmmo` || Briefly displays an ammo icon. Appears when collecting a crate ||
    47 || `vgtAmmo` || Briefly displays an ammo icon. Appears when collecting a crate ||
    48 || `vgtSmoothWindBar` || Changes the wind bar smoothly ||
    48 || `vgtSmoothWindBar` || Changes the wind bar smoothly ||
    49 || `vgtTeamHealthSorter` || When added, updates the sorting of the team health bars ||
    49 || `vgtTeamHealthSorter` || When added, updates the sorting of the team health bars ||
    50 || `vgtHealthTag` || Hedgehog health tag ||
    50 || `vgtHealthTag` || Hedgehog health tag ||
    51 || `vgtSmallDamageTag` || Small damage tag after hog damage. ||
    51 || `vgtSmallDamageTag` || Small damage tag after hog damage. ||
    52 || `vgtSpeechBubble` || Speech bubble with text. Does not work in Lua. ||
    52 || `vgtSpeechBubble` || Speech bubble with text. ||
    53 
    53 
    54 == Misc. ==
    54 == Misc. ==
    55 || *Variable name* || *Short description* ||
    55 || *Variable name* || *Short description* ||
    56 || `vgtStraightShot` || Moving sprite || 
    56 || `vgtStraightShot` || Moving sprite || 
    57 
    57 
    87  * `Timer`: Expiration timer
    87  * `Timer`: Expiration timer
    88 
    88 
    89 == `vgtSmallDamageTag` ==
    89 == `vgtSmallDamageTag` ==
    90 Damage indicator, displays a damage value. Looks similar to `vgtHealthTag`, but is smaller.
    90 Damage indicator, displays a damage value. Looks similar to `vgtHealthTag`, but is smaller.
    91 
    91 
       
    92 The parameters are the saem as for `vgtHealthTag`.
       
    93 
    92 == `vgtSpeechBubble` ==
    94 == `vgtSpeechBubble` ==
    93 Displays a speech bubble. Use `HogSay` to spawn speech bubbles.
    95 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.
    94 
    96 
    95  * `Frame`: ID of the gear to which the speech bubble belongs
    97  * `Frame`: ID of the gear to which the speech bubble belongs
    96  * `FrameTicks`: Speech bubble type (`SAY_SAY`, `SAY_THINK` or `SAY_SHOUT`)
    98  * `FrameTicks`: Speech bubble type (`SAY_SAY`, `SAY_THINK` or `SAY_SHOUT`)
       
    99  * (Text is stored internally that cannot be accessed by Lua)
    97 
   100 
    98 == `vgtStraightShot` ==
   101 == `vgtStraightShot` ==
    99 Displays an arbitrary sprite which moves in a random direction (can be overwritten in `dX` and `dY`) and fades out after a short time.
   102 Displays an arbitrary sprite which moves in a random direction (can be overwritten in `dX` and `dY`) and fades out after a short time.
   100 
   103 
   101  * `State`: ID of the custom sprite (use an ID from [Sprites]) (default: `sprSnowDust`)
   104  * `State`: ID of the custom sprite (use an ID from [Sprites]) (default: `sprSnowDust`)