![]() |
Gathering options (LUA scripting) - Printable Version +- MMOMinion (https://www.mmominion.com) +-- Forum: FFXIVMinion (https://www.mmominion.com/forumdisplay.php?fid=87) +--- Forum: Support - English, Deutsch, 中文 (https://www.mmominion.com/forumdisplay.php?fid=92) +---- Forum: English Support & Questions (https://www.mmominion.com/forumdisplay.php?fid=93) +---- Thread: Gathering options (LUA scripting) (/showthread.php?tid=4186) |
Gathering options (LUA scripting) - ammo1991 - 10-11-2013 tried adding the spell action 43 for kings yield II for my mining, right before the bot starts gathering, at line 178 in ffxiv_task_gather.lua, though problem is bot stops running, and wont do the action either when it starts mining, so it just stands there without actually mining. Any ideas what I can do? (Might be im even getting the code wrong :P //line 178 local myspell = ActionList("actionid=241") myspell:Cast(Player) I also tried changing the area there by adding: local list = Player:GetGatherableSlotList() //already there local mytarget = Player:GetTarget() local myspell = ActionList("actionid=241") if (list ~= nil) then //already there myspell:Cast(mytarget.id) But sadly, that didnt work either. edit: says in console; attempt to call method 'Cast' (a nil value), when i write directly into console. edit2: no worries, got it working with ActionList:Cast(241,0), sorry 'boat that. |