How would I debug this?

Posted by Winddancer on Sat 11 Oct 2025 04:48 PM — 3 posts, 3,828 views.

#0
I seem to miss additional information to be able to trace the source of the problem.
Quote:

Run-time error
World: Geas
Immediate execution
[string "Trigger: "]:1: attempt to perform arithmetic on a nil value
stack traceback:
[string "Trigger: "]:1: in main chunk
Australia Forum Administrator #1
It looks like one of your triggers is doing "send to script" and it is failing on the first line.

Try turning on tracing (Game menu -> Trace) and see what trigger is executing just before that error message appears.
#2
Thanks. That was the clue I needed.