Re: problem with lua scripts [message #412456 is a reply to message #412452] |
Sat, 28 November 2009 01:58 |
|
reborn
Messages: 3231 Registered: September 2004 Location: uk - london
Karma:
|
General (3 Stars) |
|
|
I don't know anything about LUA or the LUA plugin, either. However, I spotted this line 'local pos = Get_Position(Get_GameObj(pID))' and I am curious as to why it is needed. I am looking at the code like it was any other OOP code and cannot see a reason for it.
Also, that first blood code to me looks not so nice. As far as I can tell it writes to disk to store information.
Surely it should use the level_loaded event to set a variable to false or something. It seems a strange way to work.
Sorry I cannot answer your questions.
[Updated on: Sat, 28 November 2009 02:01] Report message to a moderator
|
|
|