The Daily Click ::. Forums ::. Klik Coding Help ::. Object Specifics
 

Post Reply  Post Oekaki 
 

Posted By Message

Jimmy Brzezicki



Registered
  16/09/2003
Points
  1057
1st January, 2004 at 13:20:31 -

This is a little hard to explain but I'll try; Some events in MMF/TGF are obviously object specific -eg if you use the object collides with another object thenonly those involved in the collision will be affected. However, some events are not, or if they are, are counteracted by the inclusion of other non-spcific events. So far the only way I've found to make any event only affect the specific object in question, no matter which of those objects it is, is pick one at random, which obviosly introduces an error. Fortunately, in the case of my current game, this is not fatal, but it is not ideal, so I was wandering if anyone knew of any other ways to acheve this (in MMF).

 
Why the hell am I on the computer at 1 in the morning? No, don't answer.

Pete Nattress

Cheesy Bits img src/uploads/sccheesegif

Registered
  23/09/2002
Points
  4811
1st January, 2004 at 13:26:01 -

you might want to look into using the object loop bugfix - http://www.create-games.com/article.asp?id=1082 - for use with things like collision mask. otherwise i can't think of a better option that using pick at random - it depends on the events.

 
www.thenatflap.co.uk

Kris

Possibly Insane

Registered
  17/05/2002
Points
  2017
1st January, 2004 at 17:11:15 -

that's not a bug, is it?

 
"Say you're hanging from a huge cliff at the top of mt. everest and a guy comes along and says he'll save you, and proceeds to throw religious pamphlets at you while simultaniously giving a sermon." - Dustin G

Tiles

Possibly Insane

Registered
  06/12/2002
Points
  2339

GOTM 3TH PLACE WINNER - JANUARY 2010
2nd January, 2004 at 09:09:31 -

sometimes it is hard to tell mmf which active should act with what. or which active is meant.

fastloop can solve such problems in some cases ...

also sometimes it can be done with alterable values or flags. set a flag or alterable value in this specific active to your need, and limit the needed event to "+ flag is on" or "+alterable value is ... "

so that only the one with flag on is reacting.

depends on the code you want to write

 
Free graphics,Free Games
http://www.reinerstilesets.de

Pete Nattress

Cheesy Bits img src/uploads/sccheesegif

Registered
  23/09/2002
Points
  4811
2nd January, 2004 at 16:06:59 -

kris; MMF is not doing what you tell it to, you have to do that to make it, therefore it's a bugfix, implying there's a bug that's been fixed. so IMO the collision mask stuff is buggy.

 
www.thenatflap.co.uk

Kris

Possibly Insane

Registered
  17/05/2002
Points
  2017
2nd January, 2004 at 19:24:11 -

fair cop

 
"Say you're hanging from a huge cliff at the top of mt. everest and a guy comes along and says he'll save you, and proceeds to throw religious pamphlets at you while simultaniously giving a sermon." - Dustin G

Tigerworks

Klik Legend

Registered
  15/01/2002
Points
  3882
2nd January, 2004 at 20:20:32 -

Try reading this article: http://www.nmxt.com/kb/start/index.php?showtopic=43

 
- Tigerworks

Jimmy Brzezicki



Registered
  16/09/2003
Points
  1057
8th January, 2004 at 08:31:38 -

Thanks everybody! That article is really useful Tigerworks, thanks a lot! Hopefully now my game will be non-random.

 
Why the hell am I on the computer at 1 in the morning? No, don't answer.
   

Post Reply



 



Advertisement

Worth A Click