Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » problem with lua scripts
Re: problem with lua scripts [message #412456 is a reply to message #412452] Sat, 28 November 2009 01:58 Go to previous messageGo to previous message
reborn is currently offline  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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [Tutorial]Add moving effects and bone a character
Next Topic: !afk command for lua
Goto Forum:
  


Current Time: Sun Dec 15 08:57:22 MST 2024

Total time taken to generate the page: 0.00872 seconds