SteamVR

SteamVR

SteamVR Workshop
Customize your SteamVR experience by finding new backgrounds, 3D environments, controllers and base station models.
Learn More
Rectus 13 10 Dec, 2019 @ 10:34am
Toggling world layers without despawning the entities
I'm making a map with togglable world layers with entities and props in them. My problem is that when switching a layer on with showworldlayerandspawnentities entity input, it will take a moment to load the entities.

When using the world_layer_set_visible console command to toggle layers, this happens instantly, but the corresponding entity inputs and VScript functions do not seem to work. The only ones are the ones that create and destroy the entities.

Is there any way to use world layers from from within the map without the overhead of spawning new entities in?
Last edited by Rectus; 10 Dec, 2019 @ 10:36am