Updated VScript in Mapbase (markdown)

Blixibon 2020-07-16 21:30:46 -05:00
parent e2d51a0615
commit 335337043a

@ -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* FindBodygroupByName(*string* name) | Finds a bodygroup by name |
| *int* GetBodygroupCount() | Gets the number of models in a bodygroup | | *int* GetBodygroupCount() | Gets the number of models in a bodygroup |
| *int* GetNumBodyGroups() | Gets the number of bodygroups | | *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* 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 | | *void* Scorch(*int* rate, *int* floor) | Makes the entity darker from scorching |