Locking Specific Main Weapon

Eorzea Time
 
 
 
Langues: JP EN FR DE
users online
Forum » Windower » Spellcast Scripting » Bard » Locking specific main weapon
Locking specific main weapon
Offline
Posts: 52
By Xnite 2013-03-19 20:00:18
Link | Citer | R
 
Trying to get sc to lock weapon swaps when i have lux equipped, but unable to get it to work properly. it does lock while engaged but changes when i disengage.
 Siren.Kalilla
VIP
Offline
Serveur: Siren
Game: FFXI
user: Kalila
Posts: 14552
By Siren.Kalilla 2013-03-19 20:15:28
Link | Citer | R
 
I haven't used it in awhile, but I think the problem is

<main lock="true">item name</main>
 Phoenix.Kirana
Offline
Serveur: Phoenix
Game: FFXI
Posts: 2025
By Phoenix.Kirana 2013-03-19 20:46:09
Link | Citer | R
 
Probably doesn't matter, but do you need the mode="or" in that if tag? You are only checking one thing.

edit: Or maybe it's meant to be there and you forgot to add the second condition status="idle"
Offline
Posts: 52
By Xnite 2013-03-19 21:10:44
Link | Citer | R
 
got it to work
Code
				<if EquipMain="Lux Pugio"> 
					<equip when="all">
					<main lock="true">Lux Pugio</main>
					<sub lock="true" />
					</equip>
				</if>

needed to add <equip when="all"> also
ty