Chaosforge Forum

  • December 08, 2024, 20:42
  • 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 5970 times)

gindandcubes

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

Howdy

I'm trying to get the inferno module working with 0.9.9.7.

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?
Logged
Pages: [1]