Think I should put the health variable in the ui.lua or what then? It only made sense to me to put it in the config.lua On Thu, May 20, 2010 at 9:44 PM, Alan Wolfe <alan.wolfe@xxxxxxxxx> wrote: > oh... config.lua is a special case lua file, it doesnt have access to all > the functions that the other scripts have > > the reason is, it runs that file before anything about the engine is set > up. > > > On Thu, May 20, 2010 at 9:41 PM, Kent Petersen <kentkmp@xxxxxxxxx> wrote: > >> Bug? I don't think global variables are working. Check the config lua >> >> >> On Thu, May 20, 2010 at 9:40 PM, Apache User < >> dhapache@xxxxxxxxxxxxxxxxxxx> wrote: >> >>> User:korgath >>> >>> Message: I thought I checked in these files but it looks like I didn't so >>> I'm checking them in again. Sorry if I did once already >>> >>> --tried creating global variable for life but it doesnt seem to work >>> --added life ui to main map (once again life value doesnt work) >>> --updated bat hold to pop out bats at a different rate >>> --fixed a type on bat >>> --fixed a typo on trollhut >>> >>> <Files Changed> >>> U ActRaiser/Scripts/Enemies/OverWorld/Bat.lua >>> U ActRaiser/Scripts/Enemies/OverWorld/BatHole.lua >>> U ActRaiser/Scripts/Enemies/OverWorld/TrollHut.lua >>> U ActRaiser/Scripts/GameOverworld/UI.lua >>> U ActRaiser/Scripts/config.lua >>> >>> >>> ============================== >>> Project 1 Dev mailing list >>> to unsubscribe, please send an email request to demofox@xxxxxxxxxxx >>> Project 1 website: http://project1.demofox.org >>> Project 1 SVN repository: http://pyotek.com/project1 >>> >> >> >