Osiris/API/TriggerSetAtmosphere
From Divinity Engine Wiki
Full Definition(s)
- call TriggerSetAtmosphere((TRIGGERGUID)_Trigger, (STRING)_AtmosphereUUID)
Description
Changes the atmosphere in atmosphere trigger _Trigger to the atmosphere resource with UUID _AtmosphereUUID.
Notes
- As mentioned above, the UUID must be the UUID of a resource, not of a root template. Additionally, the _Trigger must be an atmosphere trigger and not any other kind of trigger.
- The atmosphere you specify must have been added as one of the possible atmospheres that can be used in that atmosphere trigger via the "Atmospheres" property of the sidebar. Afterwards, you must also render all light probes again.