Quantcast
Channel: ZDoom
Viewing all articles
Browse latest Browse all 3391

Scripting • Re: Retrieve the current % Save Value of HexenArmor?

$
0
0
That works to find the variable, thanks. (I expect your code tags are failing since you're not logged in?)

Is it then possible to retrieve this value in Non-ZS code?

My first thought was to attach this to my player classes as a Constant as that would be easiest to get down the line, but of course, Decorate trips up and dies instantly on seeing the first period with something like:
const int CurrentArmor = (GameplayStatics.GetHexenArmorSavePercent(self));

Statistics: Posted by eharper256 — Wed Feb 26, 2025 2:21 am



Viewing all articles
Browse latest Browse all 3391