Locking Specific Main Weapon

Language: JP EN DE FR
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 | Quote | Reply
 
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
Server: Siren
Game: FFXI
user: Kalila
Posts: 14552
By Siren.Kalilla 2013-03-19 20:15:28
Link | Quote | Reply
 
I haven't used it in awhile, but I think the problem is

<main lock="true">item name</main>
 Phoenix.Kirana
Offline
Server: Phoenix
Game: FFXI
Posts: 2025
By Phoenix.Kirana 2013-03-19 20:46:09
Link | Quote | Reply
 
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 | Quote | Reply
 
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
Log in to post.