Garry's Mod Wiki

Garry's Mod Wiki

  Entity:Dissolve( number type = 0, number magnitude = 0, Vector origin = nil )

Recently Added

This was recently added in version (2024.05.14). It might only be available on the Dev Branch right now.

Description

Dissolves the entity.

Arguments

1 number type = 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
2 number magnitude = 0
Magnitude of the dissolve effect, its effect depends on the dissolve type.
3 Vector origin = nil
The origin for the dissolve effect, its effect depends on the dissolve type. Defaults to entity's origin.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...