Been trying to developpe a score system that is shared amongst all players with the help of a friend, but neither he or zdoom appears to be able to tell what is currently wrong about it and why it doesn't work. The friend in question suggested i use the default scoring system but my goal is that the score is equal to everyone whether they join mid-late of a match. To be more of a collaborative effort. Once again i would like to remind ACS is far from my thing so sorry if i make an obviously dumb mistake.
Here's the code i made to test, it apparently should work but doesnt:
Code: Select all
global int 1:CurrentScore;
script "Score 100" (void)
{
CurrentScore += 100;
}
and here's the SBARINFO for its display:
Code: Select all
drawnumber 9, INDEXFONT, yellow, GlobalVar 1,Interpolate(999), 84, 155;