View unanswered posts | View active topics It is currently Fri Dec 27, 2024 8:21 am



Reply to topic  [ 3 posts ] 
 help fixing simple error 
Author Message
User avatar

Joined: Wed Jun 03, 2009 1:12 am
Posts: 93
Reply with quote
Post help fixing simple error
Hi, I just started trying to use lua and I made a slightly modifed version of the medic.lua which damaged enemies instead of healing allies (I know its not original or anything) and patched its ScriptPath onto an actor. The game loaded fine but the actor did not drain health periodically from all enemies in the affected distance like it was supposed to, in fact, it didn't do anything. Here's the code. If anyone could tell me how to fix it, their help would be greatly appreciated.

http://pastebin.com/f78b38933

Thanks, Cadwaller


Tue Aug 04, 2009 10:10 pm
Profile
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post Re: help fixing simple error
Check if there are any errors in the console (hit the tilde/apostrophe key or the slash/question mark key), that should give you a hint.


Tue Aug 04, 2009 10:23 pm
Profile
User avatar

Joined: Wed Jun 03, 2009 1:12 am
Posts: 93
Reply with quote
Post Re: help fixing simple error
Thanks, I found the problem! (doh! my filepath was set to dummy.ini instead of .rte)


Thu Aug 06, 2009 4:21 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.042s | 15 Queries | GZIP : Off ]