Page 1 of 1

How do you make a diamond count?

PostPosted: Thu Jul 26, 2007 4:11 pm
by lilmuleman214
You know the example called diamond count they show you? Well, I'm trying to put my own diamond count in another game, but I dont know how to make one. Can anybody please tell me how you make them?

PostPosted: Thu Jul 26, 2007 4:29 pm
by Sgt. Sparky
make a text actor, make its parent the view.
then make your diamond actor.
when the player collides with the diamond actor,
destroy actor->collide actor.
on the destroy actor event of the diamond->script editor->
your text actor's name.textNumber++;
:D

PostPosted: Thu Jul 26, 2007 4:35 pm
by lilmuleman214
thanks

PostPosted: Thu Jul 26, 2007 4:37 pm
by Sgt. Sparky
you are welcome. :D

PostPosted: Thu Jul 26, 2007 4:48 pm
by lilmuleman214
Ok, im trying to do what u said, and when aI try to set up a destroy actor thing for the diamond, it doesnt let me chose script editor, it only allows me to choose another actor. what am i doing wrong?

PostPosted: Thu Jul 26, 2007 4:51 pm
by Sgt. Sparky
on the event where you are supposed to add on Destroy Actor event of your Diamond then you should be able to click on add, then it will give you an option of actions, then click on script editor.

I reccomend you look at all the tutorials again if you have not. :D
(I looked at each one untill I memorized it when I started out.)

PostPosted: Thu Jul 26, 2007 4:59 pm
by lilmuleman214
ok I'll try again.

PostPosted: Thu Jul 26, 2007 5:43 pm
by lilmuleman214
ok now i have a daimond count only when i get one daimond it gets them all. does anybody know how to fix this?

PostPosted: Thu Jul 26, 2007 10:50 pm
by pixelpoop
if your collision event is on your player, you probably named the collide actor rather than saying: DestroyActor("Collide Actor");
Don't change the wording of "Collide Actor" to your diamond actor name.