Garry's Mod Wiki

Revision Difference

Entity:Dissolve#561932

<function name="Dissolve" parent="Entity" type="classfunc">⤶ <description>Dissolves the entity.</description>⤶ <realm>Server</realm>⤶ <added>2024.05.14</added>⤶ <args>⤶ <arg name="type" type="number" default="0">Dissolve type. Should be one of the following values:⤶ ⤶ | ID | Description |⤶ |||⤶ | 0 | ENTITY_DISSOLVE_NORMAL |⤶ | 1 | ELECTRICAL|⤶ | 2 | ELECTRICAL_LIGHT |⤶ | 3 | ENTITY_DISSOLVE_CORE |⤶ </arg>⤶ <arg name="magnitude" type="number" default="0">Magnitude of the dissolve effect, its effect depends on the dissolve type.</arg>⤶ <arg name="origin" type="Vector" default="nil">The origin for the dissolve effect, its effect depends on the dissolve type. Defaults to entity's origin.</arg>⤶ </args>⤶ </function>⤶ ⤶