The Daily Click ::. Forums ::. Klik Coding Help ::. Disabling Behaviours
 

Post Reply  Post Oekaki 
 

Posted By Message

RapidFlash

Savior of the Universe

Registered
  14/05/2002
Points
  2712
30th January, 2005 at 17:13:03 -

Is there any way to disable an object's behaviour in MMF without having a "If Value A = 1" event?

 
http://www.klik-me.com

ChrisB

Crazy?

Registered
  16/08/2002
Points
  5457
30th January, 2005 at 18:00:19 -

Nope, because essentially behaviours are copied to the end of the main event list.

 
n/a

Tigerworks

Klik Legend

Registered
  15/01/2002
Points
  3882
30th January, 2005 at 18:52:58 -

Can't you put the entire behaviour in to a group then disable the group?

 
- Tigerworks

Silveraura

God's God

Registered
  08/08/2002
Points
  6747

Game of the Week WinnerKlikCast StarAlien In Training!VIP Member360 OwnerWii OwnerSonic SpeedThe Cake is a LieComputerChristmas Tree!
I am an April Fool
30th January, 2005 at 19:04:29 -

I was going to say that, but then I thought it was only events, I dont know if its behaviours too.

 
http://www.facebook.com/truediamondgame

Dave Matthew (Jester Gaming)



Registered
  09/07/2004
Points
  148
31st January, 2005 at 12:12:13 -

what is the difference between events and behaviours?

 
n/a

Radix

hot for teacher

Registered
  01/10/2003
Points
  3139

Has Donated, Thank You!VIP MemberGOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!
31st January, 2005 at 16:30:11 -

Dave: Behaviours are internal event lists attached to an active object. It's just for convenience, really.

Tigs: IIRC you can't have groups inside behaviours, or at least I'm pretty sure I've tried and failed in 1.2.

 
n/a

AsparagusTrevor

Mine's a pint of the black stuff

Registered
  20/08/2002
Points
  2364

Game of the Week WinnerHas Donated, Thank You!VIP MemberEvil kliker
31st January, 2005 at 16:38:15 -

You can have groups inside behaviors in MMF 1.5

 
Image

Radix

hot for teacher

Registered
  01/10/2003
Points
  3139

Has Donated, Thank You!VIP MemberGOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!
31st January, 2005 at 16:50:46 -

I just checked. In 1.2 at least, you can have groups inside behaviours, but you can't activate/deactivate them from the main event list. I suppose you'd have to use a flag and have the behaviour deactivate itself. Don't know about 1.5.

 
n/a

AsparagusTrevor

Mine's a pint of the black stuff

Registered
  20/08/2002
Points
  2364

Game of the Week WinnerHas Donated, Thank You!VIP MemberEvil kliker
31st January, 2005 at 17:08:47 -

No, there's no crossing over events at all within behaviours and the main event list, not even in 1.5.
Behaviours only serve as a means of keeping things tidy really anyway, RapidFlash you'll just have to copy the behaviours into the main event list.

 
Image
   

Post Reply



 



Advertisement

Worth A Click