diff -r 61552dc89169 -r 5d8cecc058bf VisualGearTypes.wiki --- a/VisualGearTypes.wiki Mon Oct 28 15:11:44 2019 +0000 +++ b/VisualGearTypes.wiki Mon Oct 28 15:15:29 2019 +0000 @@ -49,7 +49,7 @@ || `vgtTeamHealthSorter` || When added, updates the sorting of the team health bars || || `vgtHealthTag` || Hedgehog health tag || || `vgtSmallDamageTag` || Small damage tag after hog damage. || -|| `vgtSpeechBubble` || Speech bubble with text. Does not work in Lua. || +|| `vgtSpeechBubble` || Speech bubble with text. || == Misc. == || *Variable name* || *Short description* || @@ -89,11 +89,14 @@ == `vgtSmallDamageTag` == Damage indicator, displays a damage value. Looks similar to `vgtHealthTag`, but is smaller. +The parameters are the saem as for `vgtHealthTag`. + == `vgtSpeechBubble` == -Displays a speech bubble. Use `HogSay` to spawn speech bubbles. +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. * `Frame`: ID of the gear to which the speech bubble belongs * `FrameTicks`: Speech bubble type (`SAY_SAY`, `SAY_THINK` or `SAY_SHOUT`) + * (Text is stored internally that cannot be accessed by Lua) == `vgtStraightShot` == Displays an arbitrary sprite which moves in a random direction (can be overwritten in `dX` and `dY`) and fades out after a short time.