I want, when firing a weapon, that this weapon's spread is calculated through ACS as a function of the player's velocity. However, I have problems with a lack of fractionality in the result.
Since I want to calculate the result in ACS, and only once, I need to store the result in some fashion that the weapon definition has access to. To this end I have tried to use a user variable (a big nope I learned) and the accuracy actor property of the player.
Using the accuracy property allowed me to get the result I needed, however it only allows me to use integer values for the angles, and hence angles of 0.5 were not possible, as would be if writing the value directly into the decorate source.
At this point I'm at my wit's end. I even tried reading zan source code to no avail, as I couldn't find the code for the behaviors involved.
I will appreciate any and all help.
Spoiler: Snippets (Open)