From 335337043aee488b51c49eee9c8c7ca0c48c6793 Mon Sep 17 00:00:00 2001 From: Blixibon Date: Thu, 16 Jul 2020 21:30:46 -0500 Subject: [PATCH] Updated VScript in Mapbase (markdown) --- VScript-in-Mapbase.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VScript-in-Mapbase.md b/VScript-in-Mapbase.md index 39fedc9..902f7bf 100644 --- a/VScript-in-Mapbase.md +++ b/VScript-in-Mapbase.md @@ -262,7 +262,7 @@ Base class for model-based entities. This class was already exposed to VScript, | *int* FindBodygroupByName(*string* name) | Finds a bodygroup by name | | *int* GetBodygroupCount() | Gets the number of models in a bodygroup | | *int* GetNumBodyGroups() | Gets the number of bodygroups | -| *void* Dissolve(*string* material, *float* startTime, *bool* npcOnly, *int* dissolveType, *Vector* dissolverOrigin, *int* magnitude) | Dissolve. Use `"sprites/blueglow1.vmt"` for the default material, `0` for the default start time, `false` for `npcOnly` if you don't want it to check if the entity is a NPC first, `0` for the default dissolve type, `Vector(0,0,0)` for the default dissolver origin, and `0` for the default magnitude. | +| *void* Dissolve(*string* material, *float* startTime, *bool* npcOnly, *int* dissolveType, *Vector* dissolverOrigin, *int* magnitude) | Dissolve. Use `""` for the default material, `Time()` for the default start time, `false` for `npcOnly` if you don't want it to check if the entity is a NPC first, `0` for the default dissolve type, `Vector(0,0,0)` for the default dissolver origin, and `0` for the default magnitude. | | *void* Ignite(*float* flameLifetime, *bool* NPCOnly, *float* size, *bool* CalledByLevelDesigner)| Ignite. "NPCOnly" only lets this fall through if the entity is a NPC and "CalledByLevelDesigner" determines whether to treat this like the `Ignite` input or just an internal ignition call. | | *void* Scorch(*int* rate, *int* floor) | Makes the entity darker from scorching |