ZFGC
Resources => Coding => Topic started by: Theforeshadower on April 19, 2009, 07:46:11 am
-
Is there a way besides using an alarm to check to see how many steps have gone by?
Like say you only want an object to be created ever 4 steps while the player is shooting(ie holding down control).
-
Declare this in thr create event.
crtetmr (Create Tmr. I shortened it for convience)
Then in the step event.
crtetmr+=1 if crtetmr>3{crtetmr=0 instance_create(x,y,Obj)}
Hope this helps.
-
Nevermind, I was being a retard and forgot something so stupid.
Thanks for the help anyway. I got it to do what I want it to do.
Lock plz.