Check if there are mobs alive
#21
(05-08-2013, 06:13 AM)xoft Wrote: What else can I tell you? You didn't say what the error was, you didn't post your code, nothing. So there's really nothing else I can say.
The error is with the code you post there. Error with GetWorld (a nil value)
Reply
Thanks given by:
#22
What is the exact error message?

Either your Player object is nil, so you cannot call GetWorld() on it, or the player is not inside a world yet, so GetWorld() returns a nil world, or there's a bug in the generated Lua bindings code.
Reply
Thanks given by:




Users browsing this thread: 3 Guest(s)