Blockland Forums > Help
Death counter increment doubled!
Pages: (1/1)
Corbiere:
I made a four-digit (9999) death counter to record how many players have died when the touched a brick, in this case a small flower in the corner of a garden, with events as follows:
--- Code: ---[0][/] Onplayertouch > Player > Kill
[1][/] Onplayertouch > NAMEDBRICK [zone1_deathcounter] > IncrementPrintCount [1]
--- End code ---
In theory that should make the printcount go up by ONE every time a player touches the brick and dies, but it keeps going up by two instead.
Why?
K3k0m@n:
the event IncrementPrintCount does that to me too. Try putting [1] to [0]
Corbiere:
--- Quote from: K3k0m@n on January 15, 2012, 07:14:52 AM ---the event IncrementPrintCount does that to me too. Try putting [1] to [0]
--- End quote ---
You mean switch the events over?
K3k0m@n:
--- Quote from: K3k0m@n on January 15, 2012, 07:14:52 AM ---the event IncrementPrintCount does that to me too. Try putting [1] to [0 ]
--- End quote ---
Pages: (1/1)