Hello CoG community!
I have some experience already with CS but I haven’t gone in-depth to mathematical operations in the script. But writing my novel I did dabble around with it and cant seem to figure it out (n00b!)
Erros is:
line 185: Can’t fairAdd to non-percentile value: 23000
My code looks like this:
*fake_choice
#Give him all of it
*set credits 0
"Off with ye." Is all he needed to say for you to speed off.
And speed off you did.
*page_break
#Give him half
*set credits %- 50
"Yer more pathetic than I thought." He turns his ship away then boosts.
*page_break
#Give him 10%
*set credits %- 10
"Do ye bloody think I was born yesterday?" His angry voice breaks through the comms.
Now, I know, I know… It says it cant fairmath non percentile values since mine is:
*stat_chart
text callsign Callsign
text credits Credits
text ship Ship
I’m trying to subtract credits by percentage and not actual numbers but since the fairmath seems to only work in percentile value I have to ask: How do I do it?