IsShieldOut
Jump to navigation
Jump to search
Returns 1 if the actor currently has a shield "out". Out, in this case, means that the shield is equipped and being held/used/visible to others. For example, you can have a shield "equipped" in the shield slot, but if you have a bow or two-handed weapon drawn, or a torch in your off-hand, or have no weapon and are using your bare fists, IsShieldOut will return 0.
Notes[edit | edit source]
This does not check whether the actor is actively blocking or not. If you want to detect when the player is blocking, then you need to use OBSE's Input Functions.