GS Lock Items

Language: JP EN DE FR
New Items
2023-11-19
users online
Forum » Windower » General » GS Lock items
GS Lock items
 Fenrir.Duvelamilla
Offline
Server: Fenrir
Game: FFXI
Posts: 69
By Fenrir.Duvelamilla 2014-08-23 10:02:07
Link | Quote | Reply
 
I am in the process of changing my jobs from XML to GS, and am having a hard time finding out how to lock gear such as warp cudgel/ring, reraise earring, nexus cape etc. Does anyone know if this can be done in GS and if so how? It is very annoying to put on one of these items and if u so much as twitch it comes back off. Thanks in advance to any help.
 Lakshmi.Byrth
VIP
Offline
Server: Lakshmi
Game: FFXI
user: Byrthnoth
Posts: 6137
By Lakshmi.Byrth 2014-08-23 10:24:53
Link | Quote | Reply
 
Code
//gs disable <slot name>
 Fenrir.Duvelamilla
Offline
Server: Fenrir
Game: FFXI
Posts: 69
By Fenrir.Duvelamilla 2014-08-23 11:00:34
Link | Quote | Reply
 
Does this then mean I have to type that into chat log every time I want to lock something? And then Do I have type something to enable that slot again? Or is there something I can put in the actual GS like you could in SC?
 Lakshmi.Byrth
VIP
Offline
Server: Lakshmi
Game: FFXI
user: Byrthnoth
Posts: 6137
By Lakshmi.Byrth 2014-08-23 11:03:15
Link | Quote | Reply
 
You can use something like this in you pretarget or precast function:
Code
if player.equipment.main="Warp Cudgel" then
    disable('main')
else
    enable('main')
end
[+]
 Fenrir.Duvelamilla
Offline
Server: Fenrir
Game: FFXI
Posts: 69
By Fenrir.Duvelamilla 2014-08-23 16:43:37
Link | Quote | Reply
 
Thank you very much.

Tried that, it didn't work, says 'then' expected near '='... tried
 Leviathan.Arcon
VIP
Offline
Server: Leviathan
Game: FFXI
user: Zaphor
Posts: 660
By Leviathan.Arcon 2014-08-25 15:00:21
Link | Quote | Reply
 
Slight error in Byrth's code (Notice the == instead of = here):
Code
if player.equipment.main == "Warp Cudgel" then
    disable('main')
else
    enable('main')
end
 Fenrir.Duvelamilla
Offline
Server: Fenrir
Game: FFXI
Posts: 69
By Fenrir.Duvelamilla 2014-08-26 21:30:05
Link | Quote | Reply
 
Thanks will try that
 Fenrir.Moldtech
Offline
Server: Fenrir
Game: FFXI
user: Moldtech
Posts: 574
By Fenrir.Moldtech 2014-08-26 21:31:14
Link | Quote | Reply
 
And....

Warp Cudgel = /toss
Warp Ring get!


EDIT: To add that warp ring so nice, it's a wardrobe quality item! :)
 Fenrir.Duvelamilla
Offline
Server: Fenrir
Game: FFXI
Posts: 69
By Fenrir.Duvelamilla 2014-08-26 21:37:27
Link | Quote | Reply
 
I have ring, trying to use up cudgel. But I assume the code can be tweaked to work on any gear u want such as warp ring/cudgel, rr earring/gorget, nexus cape etc.
Log in to post.