Hi,

I have the following code in my Enigma 1.10 level:

ti["g1"] = it({"st_door_d", name="sd"})
ti["s1"] = ti({"fl_scales_bridgewood", name="scales1", min=1.0, target="sd", action="toggle"})

When I run the level I get an error:

Server Error: could not load level
'C:\Users\Viper\AppData\Roaming/Enigma/levels/auto/1.10_pegboard.xml'
[string "--@C:\Users\Viper\AppData\Roaming/Enigma/le..."]: Invalid new position value
type
Backtrace:
#1 @C:\Users\Viper\AppData\Roaming/Enigma/levels/auto/1.10_pegboard.xml: 26
  (it["g1"] = it({"st_door_d", name="sd"}))


When I change the code to:

ti["g1"] = it({"st_door_d", name="sd"})
ti["s1"] = ti({"fl_scales_bridgewood", name="scales1", min=1.0})

The level works fine!
Can anyone help me?

Thanks, Reece

_______________________________________________
Enigma-devel mailing list
Enigma-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/enigma-devel

Reply via email to