Why isnt this working?
Posted: Wed Jun 15, 2011 7:19 pm
Hi. I am in the middle of creating a new game but I am having a problem with variable counting.
I have a variable named "P".
I have an actor (Pcounter) that has animations of numbers eg. "one" "two" "three" "four" "zero"
When "P" equals one "one" is displayed, as for two and so on.
I have another actor which is supposed to (upon creation of an actor) make P = 0;
It is not working for some reason because my Pcounter always displays a one.
Can someone help?
I have a variable named "P".
I have an actor (Pcounter) that has animations of numbers eg. "one" "two" "three" "four" "zero"
When "P" equals one "one" is displayed, as for two and so on.
I have another actor which is supposed to (upon creation of an actor) make P = 0;
It is not working for some reason because my Pcounter always displays a one.
Can someone help?