• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Shield equip code

spannclann

Well-known member
I have the following code that checks if there is a weapon in either the main or off hand. Does anyone know the code to check if a shield is equipped?

if (hero.tagis[Hero.EquipMain] = 0) then
if (hero.tagis[Hero.EquipOff] = 0) then

******Edit******

I figured out the code. It is

if (hero.tagis[Hero.EquipShld] = 0) then
 
Last edited:
Back
Top