Garry's Mod Wiki

Revision Difference

effects.Bubbles#526720

<function name="Bubbles" parent="effects" type="libraryfunc">⤶ <description>Creates a bunch of bubbles inside a defined box.</description>⤶ <realm>Shared</realm>⤶ <added>2020.04.29</added>⤶ <args>⤶ <arg name="mins" type="Vector">The lowest extents of the box</arg>⤶ <arg name="maxs" type="Vector">The highest extents of the box</arg>⤶ <arg name="count" type="number">How many bubbles to spawn. There's a hard limit of 500 tempents at any time.</arg>⤶ <arg name="height" type="number">How high the bubbles can fly up before disappearing</arg>⤶ <arg name="speed" type="number" default="0">How quickly the bubbles move</arg>⤶ <arg name="delay" type="number" default="0">Delay in seconds after the function call and before the effect actually spawns</arg>⤶ </args>⤶ </function>