Step Event?

Game Editor comments and discussion.

Step Event?

Postby Letchford » Wed Jun 20, 2007 5:51 am

Hello, I making a very small little thing in GE, and need to know where to put a code that always checks for something, like a step event something that is always active.

Thanks.
Letchford
 
Posts: 34
Joined: Mon Jun 18, 2007 4:13 am
Score: 2 Give a positive score

Postby d-soldier » Wed Jun 20, 2007 6:01 am

Not real sure what you mean, but any "DRAW ACTOR" script is constant...
User avatar
d-soldier
 
Posts: 703
Joined: Sun Apr 08, 2007 2:13 am
Score: 61 Give a positive score

Postby Letchford » Wed Jun 20, 2007 6:56 am

Well, i mean like the event is always active, and you can put something like "if (thing) do this" like that always checks, and is always running
Letchford
 
Posts: 34
Joined: Mon Jun 18, 2007 4:13 am
Score: 2 Give a positive score

Postby Letchford » Wed Jun 20, 2007 7:06 am

I just tried what I wanted, using DRAW ACTOR, and it worked 1+ score for you! :o
Letchford
 
Posts: 34
Joined: Mon Jun 18, 2007 4:13 am
Score: 2 Give a positive score

Postby Fuzzy » Wed Jun 20, 2007 8:27 pm

dont forget that the view is an actor too, and has its own draw actor event. Its useful to use at times.
Mortal Enemy of IF....THEN(and Inspector Gadget)

Still ThreeFingerPete to tekdino
User avatar
Fuzzy
 
Posts: 1068
Joined: Thu Mar 03, 2005 9:32 am
Location: Plymostic Programmer
Score: 95 Give a positive score

Postby Troodon » Wed Jun 20, 2007 8:35 pm

And the checking time depends on the fps you've set in the configuration. For example if your fps is 50, the thing is checked 50 times in a second. :wink:
I can't die, I already tried
~on the forums since GE 1.3.3~
User avatar
Troodon
 
Posts: 1539
Joined: Thu Jan 12, 2006 3:29 pm
Location: HELL
Score: 56 Give a positive score

Postby Letchford » Wed Jun 20, 2007 10:13 pm

Yeah, thanks alot Guys! My program is working fine.
Letchford
 
Posts: 34
Joined: Mon Jun 18, 2007 4:13 am
Score: 2 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron