Hi Hive Pro dudes
I am currently making a map and I am just starting to learn triggering etc. (Not JASS just yet, I do know a little VB and am starting to learn C++ but I want to get familiar with the triggering system before moving on to JASS) But I came across a small problem which after quite a long time of searching I just could not find the answer to.
The problem is this:
I set up a leaderboard and added the players to the leaderboard etc. and then I set up a value which equals to a set amount. After a unit of that team dies I want the value (an integer variable named NR) to equal itself minus one. I know there is a very simple solution to this problem but for the life of me I just cannot find it! All I seem to be able to do is this:
I am currently making a map and I am just starting to learn triggering etc. (Not JASS just yet, I do know a little VB and am starting to learn C++ but I want to get familiar with the triggering system before moving on to JASS) But I came across a small problem which after quite a long time of searching I just could not find the answer to.
The problem is this:
I set up a leaderboard and added the players to the leaderboard etc. and then I set up a value which equals to a set amount. After a unit of that team dies I want the value (an integer variable named NR) to equal itself minus one. I know there is a very simple solution to this problem but for the life of me I just cannot find it! All I seem to be able to do is this:
- Set NR = NR
- Set NR = -1