So I've been stumped for a while now (and thoroughly frustrated) at trying to get lua to work. I think I'm missing some extremely basic function, so I'm hoping you guys can fill me in.
What I have so far is:
Write code using Lua (yeah complicated I know, an example would be super but not neccessary)
Include the lua Filename in the 'Ingame.xml'
Update the actions for onmodactivate with ingame.xml
Update the content with the type (what type?) and filename.
Obviously I'm not looking for a clock example, which seems to be already recognized by the game. It's hard to tell if my code is correct because there seems to be some step i'm missing here. If not back to the drawing board I guess.
What I have so far is:
Write code using Lua (yeah complicated I know, an example would be super but not neccessary)
Include the lua Filename in the 'Ingame.xml'
Update the actions for onmodactivate with ingame.xml
Update the content with the type (what type?) and filename.
Obviously I'm not looking for a clock example, which seems to be already recognized by the game. It's hard to tell if my code is correct because there seems to be some step i'm missing here. If not back to the drawing board I guess.