actor count
Posted: Sun Jul 31, 2011 12:19 am
Hi i was wondering to know how can I set a amount on a weapon. like let say I got 10 apples so after I used up all ten I want it to set the number text to 0. how?
apple+=1; // add one apple
if (apple>=1) // if you have more than one
{
apple-=1; //takes away one
// Your special code for throwing the apple.
}
textNumber=ActorCount("apple");