Getting Sets To Equip When Engaged/unengaged?

Eorzea Time
 
 
 
言語: JP EN FR DE
日本語版のFFXIVPRO利用したい場合は、上記の"JP"を設定して、又はjp.ffxivpro.comを直接に利用してもいいです
users online
フォーラム » Windower » Support » Getting sets to equip when engaged/unengaged?
Getting sets to equip when engaged/unengaged?
 
Offline
Posts:
By 2019-08-05 05:17:32
| Edit  | Link | 引用 | 返事
 
Post deleted by User.
 Bahamut.Shozokui
Offline
サーバ: Bahamut
Game: FFXI
user: Shozokui
Posts: 460
By Bahamut.Shozokui 2019-08-05 05:38:32  
Mote includes exist. They handle all this for you.

GearSwap Mote Default Files

Start here then learn more about GearSwap and Mote. To be candid, these files are NOT good set-wise, you need to define your own sets with updated gear.
Offline
Posts: 173
By Artsncrafts 2019-08-05 09:59:22  
Hi, I also write my own luas and do not use Mote.

So what i think you need to do is add a function


you want something like this


function status_change(new,old)
if T{'Idle','Resting'}:contains(new) then
equip(sets.Idle)
elseif new == 'Engaged' then
equip(sets.TP.THF[TP_Set_Names[TP_Index]])

end
end













NOTE THIS IS DIFFERENT FROM AFTERCAST. THIS LOOKS FOR STATUS CHANGE SUCH AS ENGAGE/DISENGAGE HEALING/STANDING