MV SRD HudMaker: Condition Question

This is for MV.

I'm trying to get a picture to display on the map screen when the player has a particular passive state applied. Wanting to do this through a HUD condition and found this online, but it doesn't seem to be working. I'm guessing there's something I need to change with the below:

$gameParty.leader().IsStateAffected(stateID);

When I try using that... I get an error and the condition changes to false.

Thanks in advance 🙂
Is should not be capitalized.

(You should always provide a screenshot of the error. In this case it was simple to see, but if it were something more complex you'd waste time and posts going back and forth asking for the information 😉)
Is should not be capitalized.

(You should always provide a screenshot of the error. In this case it was simple to see, but if it were something more complex you'd waste time and posts going back and forth asking for the information 😉)
Good point. It didn't actually come up with an error message. It just changed the Condition field to "False." So I should have specified that. The issue is fixed. I was not aware that was case-sensitive. Now I know 🙂

As always, you're the best, and thanks!!
Thread closed

Original thread: https://forums.rpgmakerweb.com/threads/srd-hudmaker-condition-question.153820/