Community Forum

math util error when double clicking shop item

Forum Overview >> Scripting

CategoryScripting
Created12.10.2020 10:53


Marvin E. (Marv63) 12.10.2020 10:53
Hello,
I got an math util error when i select a shop item for configuration:
2020-10-12 10:30 Error: Running LUA method 'mouseEvent'.
2020-10-12 10:30 dataS/scripts/utils/MathUtil.lua(94) : bad argument #1 to 'max' (number expected, got nil)

I want to add a configuration to all vehicles with motor and not spline vehicles.
But when i want to select a shop item with motor i get this error, attachments work fine.
the loader script: https://pastebin.com/zN37Twy0
the specification script: https://pastebin.com/WhpcudqK
the config xml: https://pastebin.com/RSpEcxyj

Hope somebody can help since Giants deleted the documentation for this part...
Greets Marv63

Marvin E. (Marv63) 12.10.2020 10:54
By the way: my giants debuger stopped working


Note: Log in to post. Create a new account here.