-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Operating System
Windows
Extender Version
v60
Game Version
v3.6.117.3735
Bug Summary
The example from the docuemtation itself is causing an error, regardless when it is called (also runtime in console):
https://github.com/Norbyte/ositools/blob/master/Docs/LuaAPIDocs.md#surface-templates
Ext.GetSurfaceTemplate("Fire").Statuses = {{
Duration = 12.0,
KeepAlive = true,
StatusId = "WET"
}}
Cannot set property SurfaceTemplate::Statuses - cannot write properties of this type
Also the table below that example says Statuses is writeable, but it is not.
I would like to add new statuses to surfaces, but it seems not to be possible currently, since it is not writeable. It does work though to change the values of already existing statuses: Ext.Surface.GetTemplate("Fire").Statuses[1].StatusId = "BLESSED"
edit:
Btw. Ext.Surface.GetTemplate does not know "DeathfogCloud".
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working