The Daily Click ::. Forums ::. Klik Coding Help ::. Restrict actions bug?
 

Post Reply  Post Oekaki 
 

Posted By Message

7Soul



Registered
  12/08/2008
Points
  167
12th November, 2010 at 04:39:20 -

On the 'restrict actions' window, i click on the 'use a calculation' button, and no matter what value i put there, my event never happens! It says "enter the time in 1/1000th of second", so if i put 10, it should be the same as "restrict actions for 00"10 " but it simply doesn't work

 
n/a

Sketchy

Cornwall UK

Registered
  06/11/2004
Points
  1970

VIP MemberWeekly Picture Me This Round 43 Winner!Weekly Picture Me This Round 47 WinnerPicture Me This Round 49 Winner!
12th November, 2010 at 15:25:03 -

Not that it matters, but technically, a value of 10 would be the same as 00"-01, not 00"-10.
Anyway, if you're having a problem, it's because of something else you're doing - not because of the "restrict actions" condition.
As always, post a file please.

 
n/a

7Soul



Registered
  12/08/2008
Points
  167
12th November, 2010 at 17:05:12 -

http://dl.dropbox.com/u/3954039/restrict_actions.mfa
It's MMF2 Dev

 
n/a

monkeytherat

Hero of Time Jr

Registered
  07/11/2010
Points
  1293

VIP MemberI donated an open source project
13th November, 2010 at 02:44:52 -

I don't know if this is right or makes sense, but it seems like the first one restricts actions for 1 millisecond and adds 1 to the counter and the second one keeps restricting actions and every millisecond it adds 1 to the counter. The solution in that case would be to just use the second one, since I see no difference except that one does what you need it to do and the other doesn't.

 
If you put a million monkeys at a million keyboards, one of them will eventually write a Java program.
The rest of them will write Perl programs.

Sketchy

Cornwall UK

Registered
  06/11/2004
Points
  1970

VIP MemberWeekly Picture Me This Round 43 Winner!Weekly Picture Me This Round 47 WinnerPicture Me This Round 49 Winner!
13th November, 2010 at 12:36:34 -

The file he submitted was just to demonstrate the problem. Presumably he needs to be able to change the delay at runtime.

I'm really amazed this bug exists, but it does seem to (sorry for doubting you). How has noone noticed it before?!

Anyway - I suggest you post on the Clickteam forums, and maybe they'll fix it for the next release. Or they may just remove the "Use a calculation" button - I notice the "Every..." condition doesn't have that button.

 
n/a
   

Post Reply



 



Advertisement

Worth A Click