The Daily Click ::. Forums ::. Klik Coding Help ::. weird problem
 

Post Reply  Post Oekaki 
 

Posted By Message

ig299



Registered
  27/10/2014 04:34:16
Points
  230
6th September, 2018 at 06/09/2018 02:55:00 -

Hi i ran into a weird problem when ever i keep adding an alterable value to one object and it's equal to 7 it does what ever i want but if i keep adding an alterable value to the other and it equal 7 it keeps adding and doesn't do what i want.
Is there a way to fix this? Is it normal?

 
111111games

LordHannu

Crazy?

Registered
  22/04/2007
Points
  7910

VIP MemberStarTeddy BearRibbonGame of the Week Winner2021 Halloween Competition Winner2022 Hi-Score Mash-up Competition (Bronze)2023 Halloween Competition (Bronze)2023 Halloween Competition Entrant
12th September, 2018 at 12/09/2018 15:25:08 -

Hi! When you keep adding a value to the object add a line when its lower than 7, so it doesnt extend 7.

 
n/a

ig299



Registered
  27/10/2014 04:34:16
Points
  230
12th September, 2018 at 12/09/2018 19:59:36 -

i tried that but it still keep's adding.

 
111111games

UrbanMonk

BRING BACK MITCH

Registered
  07/07/2008
Points
  49667

Has Donated, Thank You!Little Pirate!ARGH SignKliktober Special Award TagPicture Me This Round 33 Winner!The Outlaw!VIP MemberHasslevania 2!I am an April FoolKitty
Picture Me This Round 32 Winner!Picture Me This Round 42 Winner!Picture Me This Round 44 Winner!Picture Me This Round 53 Winner!
13th September, 2018 at 13/09/2018 21:02:27 -

I suspect you're skipping over 7 in your 2nd case, so the value never equals 7.

You'll need to post a screenshot of your code for anyone to help you though.

 
n/a

ig299



Registered
  27/10/2014 04:34:16
Points
  230
13th September, 2018 at 13/09/2018 21:41:05 -

https://ibb.co/dJj8aU

 
111111games

UrbanMonk

BRING BACK MITCH

Registered
  07/07/2008
Points
  49667

Has Donated, Thank You!Little Pirate!ARGH SignKliktober Special Award TagPicture Me This Round 33 Winner!The Outlaw!VIP MemberHasslevania 2!I am an April FoolKitty
Picture Me This Round 32 Winner!Picture Me This Round 42 Winner!Picture Me This Round 44 Winner!Picture Me This Round 53 Winner!
15th September, 2018 at 15/09/2018 00:15:06 -

That isn't very helpful since I can't see the actions.

 
n/a

The_Antisony

At least I'm not Circy

Registered
  01/07/2002
Points
  1341

VIP MemberStarSnow
9th April, 2019 at 09/04/2019 13:35:56 -

When you're testing that the last active has been destroyed before doing something to your Blue diamond, that never stops being true until a new green diamond exists within the playfield. That means when your last green active is destroyed, it'll register as destroyed continually. Try adding a second event - Special Conditions -> Limit Conditions -> Only one action when event loops.

That should detect once, stop detecting, and only trigger again if a new green active is created within the playfield and gets destroyed too.

 
ChrisD> Employer: Say, wanna see a magic trick?
ChrisD> Employee: Uhh… sure, boss.
ChrisD> Employer: Your job! It just disappeared! Pack your things and leave! Pretty good trick, huh?
   

Post Reply



 



Advertisement

Worth A Click