Posted: Sat Nov 04, 2023 3:22 am Post subject: luaCode activates memrec but not its timers
I have a script called "Mextend" that works as expected with timers when I check it manually and it deactivates itself a few seconds later. When I use luaCode in another AA script to activate the Mextend script, its timers don't trigger and it stays activated forever. I'm guessing the issue is in the way I am writing the luaCode section in the AA script. What's the trick to executing the lua inside of Mextend in this type of code?:
{$luaCode}
getAddressList().getMemoryRecordByDescription('Mextend').Active=true
{$asm}
Also, if I use that line in the Lue Engine to test it, it successfully activates Mextend and everything works correctly. It's ONLY failing when triggered from within another AA script for some reason.
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 vote in polls in this forum You cannot attach files in this forum You can download files in this forum