Page 1 of 1

Is there a way to do this? cause i dont think so.

PostPosted: Tue Mar 28, 2006 1:17 am
by The achievement
Hi guys, is there a way to earn achievements in my game that im making? Have you guys ever played Xbox 360? ya like those achievements, i want to make an achievement where you click the button five times in 1 second, and then a meadl shows up, how do i do this??????

PostPosted: Tue Mar 28, 2006 5:17 am
by frodo
use timers

PostPosted: Tue Mar 28, 2006 5:46 am
by frodo
here it is:

create actor-->create timer;
timer --> event disable(mouse botton down);
mouse botton down-->script editor:

mousecount=mousecount+1;
if(mousecount==4)creatactor(medal ...);

createactor-->script editor
mousecoust=0;



That should work.

PostPosted: Wed Mar 29, 2006 3:00 am
by The achievement
lol i dont know, you lost me after i create the timer :lol:

PostPosted: Wed Mar 29, 2006 5:46 pm
by frodo
Do this:

Create actor-->Create Timer (1000);
Make a variable “mousecount”.
Mouse button down--> script editor:

mouse = mouse+1;

draw actor--> script editor:

if(mouse>5)
{
CreateActor(medal...)
}


Timer-->event disable(event mouse botton down;