The Daily Click ::. Forums ::. Klik Coding Help ::. First instance of Active isn't recognised
 

Post Reply  Post Oekaki 
 

Posted By Message

-Liam-

Cake Addict

Registered
  06/12/2008
Points
  556

Wii OwnerIt's-a me, Mario!Hero of TimeStrawberry
22nd May, 2013 at 22/05/2013 13:19:30 -

I've been copying some events and objects across frames. It worked on one level, but not another.

Basically, I have a simple "Player" collides with "Active" event. I tell the Active to destroy. It doesn't work on one of the levels I've copied it to. I tried redoing the event myself, but it still wouldn't work. I then created a brand new Active and a brand new event saying the same thing. Once more it's ignored. This still happens after reopening the project.

I noticed that it's just the first instance of the Active I place into the level though. If I have an event create a new Active every second or whatever, it will destroy if the player collides with it. But never the first one I placed down myself. Everything is seemingly on the correct layer.

Is this just one of MMF's weird bugs?

If you suspect the level/frame may have become corrupt, I could delete it. I'd rather not, but I've not done a huge amount of work on it yet so it shouldn't be a major problem.

Edited by -Liam-

 
Image

Tell 'em Babs is 'ere...

nim



Registered
  17/05/2002
Points
  7233
22nd May, 2013 at 22/05/2013 14:06:51 -

Is it on the correct layer? The same one as the object you want it to collide with?

If so, try some other events to see if it's responding.

For example,
Y("Active") < Y("Player") = Destroy

(if the object is higher the player it'll be destroyed)

 
//

-Liam-

Cake Addict

Registered
  06/12/2008
Points
  556

Wii OwnerIt's-a me, Mario!Hero of TimeStrawberry
22nd May, 2013 at 22/05/2013 14:29:09 -

omg, it WAS the wrong layer! This is the one level that has an extra layer in it and I just hadn't noticed. Now I feel silly!

 
Image

Tell 'em Babs is 'ere...

Stimor



Registered
  02/06/2003
Points
  858
22nd May, 2013 at 22/05/2013 14:51:24 -

for SHAME

 
El Stimor was here.

nim



Registered
  17/05/2002
Points
  7233
22nd May, 2013 at 22/05/2013 15:31:35 -

That always trips me up, too. I wish the Layer panel had an option to display layers as a list, then I could fit more than 4 on the screen without scrolling.

When you click on an active it'll show a little box with "2:29" or something over it. The first number is the layer it's on.

 
//

-Liam-

Cake Addict

Registered
  06/12/2008
Points
  556

Wii OwnerIt's-a me, Mario!Hero of TimeStrawberry
24th May, 2013 at 24/05/2013 22:19:27 -

I always wondered what that was! Thanks.

 
Image

Tell 'em Babs is 'ere...
   

Post Reply



 



Advertisement

Worth A Click