Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - D&D 5th Edition SRD (http://forums.wolflair.com/forumdisplay.php?f=89)
-   -   Shield equip code (http://forums.wolflair.com/showthread.php?t=66368)

spannclann September 22nd, 2021 06:58 AM

Shield equip code
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


I figured out the code. It is

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

All times are GMT -8. The time now is 09:49 PM.

Powered by vBulletin® - Copyright ©2000 - 2022, vBulletin Solutions, Inc.
wolflair.com copyright 1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.