The Daily Click ::. Forums ::. Klik Coding Help ::. Same events, different results?! Help!
 

Post Reply  Post Oekaki 
 

Posted By Message

Buster

BLING COMMANDER

Registered
  03/06/2002
Points
  1545

VIP Member
25th May, 2012 at 25/05/2012 08:35:20 -

I have two of the same events, but each giving different results.

The events are something like:

1.
Upon left mouse click - Create "Object 1"
+ Counter = 0 Set "Object 1's" alterable value A to 100


2.
Upon left mouse click - Create "Object 2"
+ Counter = 1 Set "Object 2's" alterable value A to 200


Event 1, works as I intended. The object is created and only it would have it's alterable value A set to 100, the other "Object 1's" values that were previously placed would remain as they were.

However, Event 2 would NOT set the currently placed "Object 2's" value to 200, That would remain at 0, and only the previously placed "Object 2's" value would be changed to 200.



Whhhyyyy?



 

s-m-r

Slow-Motion Riot

Registered
  04/06/2006
Points
  1078

Candle
25th May, 2012 at 25/05/2012 12:50:03 -

I have no idea why it's not working for you, but if you use flags in an additional event you might solve your issue. Here's what I mean.

Make a second event below the creation event, as follows...

IF "Object 2's" Flag 0 = Off
THEN Set "Object 2's" Alterable Value A = 200
AND Set "Object 2's" Flag 0 = On

 
n/a

Chris Burrows



Registered
  14/09/2002
Points
  2396

GOTW WINNER OCT. 2011
26th May, 2012 at 26/05/2012 22:20:32 -

MMF2 seems to work in mysterious ways sometimes. But there is always a reason why and it is usually a good one! If you upload your mfa, or at least a stripped down version, maybe then we can help you...

 
n/a
   

Post Reply



 



Advertisement

Worth A Click