Chaosforge Forum

  • April 24, 2024, 23:00
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Pages: [1]

Author Topic: Level not declared in rawset(Level, "clear", function())  (Read 4565 times)


  • Backer
  • Private
  • *
  • *
  • Offline Offline
  • Posts: 1
  • Lost Soul
    • View Profile


I'm trying to get the inferno module working with

However, I don't know much Lua, but because my career is programming (I use python and c++ extensively in my field), I thought it wouldn't be too difficult.

I get an error saying that Doomrl is trying to access a non declared variable "Level". The line is:

Code: [Select]
rawset(Level, "clear", function()
 ...code here ...

I did some poking around and found that Level is supposed to be a table object, and that global variables don't need to be declared as such.

Whats wrong here? Did something fundamental change in the modding api between '.6 and '.7?
Pages: [1]