mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-10 17:46:53 -10:00
This was requested by @AxemP. The implementation is a bit more complicated than simply retrieving the value since that is only updated when the weapon is fired. Instead, the function calculates what the current value should be based on the code from the function that updates the value when the weapon is fired. Setting the value is disabled since the extra processing code could alter the calculation a script does so that after setting the value, reading it again would return a different value.