Narcissus

Narcissus

5M Downloads

Lua Error in Storyboard Controller

LenweSaralonde opened this issue ยท 0 comments

commented

The following LUA error poped when the Storyboard controller was triggered :

1x ...eNarcissus/Modules/Storyboard/Controller.lua:122: bad argument #1 to 'SetLightType' (Usage: self:SetLightType(lightType))
[string "=[C]"]: in function `SetLightType'
[string "@Narcissus/Modules/Storyboard/Controller.lua"]:122: in function `SetScene'
[string "@Narcissus/Modules/Storyboard/Controller.lua"]:192: in function `CreateAndSetScene'
[string "@Narcissus/Modules/Storyboard/Controller.lua"]:219: in function <...eNarcissus/Modules/Storyboard/Controller.lua:218>

Locals:
(*temporary) = ModelScene {
 fromYaw = 2.191000
 fromCamX = 2.684944
 fromCamZ = 4.639687
 t = 0
 toPitch = 0.126000
 fromPitch = 0.856900
 fromCamY = -3.532288
 toCamZ = -0.021031
 toYaw = 2.088000
 toCamX = 2.711735
 0 = <userdata>
 toCamY = -4.186019
}
(*temporary) = 2

Seems that modelScene:SetLightType() only accepts values 0 and 1, not 2.