I am not sure if there is anything wrong with my code since I have tried other people's code to no avail, but I am including it just in case. It is a simple game script to add a cost of 1 AP to taking off a shield. No matter what I do, I can't get any results(good or bad) to show up in game. I have followed the steps outlined by LaughingLeader here https://steamcommunity.com/app/435150/discussions/3/1849197902663099065/.
I am pretty new to scripting and I just want to get to a point where I can reliably have my code apply in game. Any advice on what I might be missing would be appreciated.
Edit: I figured out the issue. ItemHasStatus was the problem. I'm not sure why other people's code didn't work, but as long as it works.
CharacterGetStat(_AP, _Char, ActionPoints)