The Daily Click ::. Forums ::. Klik Coding Help ::. Global Qualifiers
 

Post Reply  Post Oekaki 
 

Posted By Message

wp



Registered
  22/11/2003
Points
  34
14th December, 2003 at 21:01:13 -

If I want to make a large-scale game with a variety of objects that behave the same, how would I do that without global qualifiers (since MMF doesn't have those)? For example, I want to do collision detection for all types of slippery surfaces, but I don't want all of them to look exactly the same. If there were global qualifiers, I would qualify them all as one group so that they don't all have to look like big ice blocks.

The only other way I can do this is make an object and copy it over and over again for each frame I want, then make them invisible and paste the images I want over them. Is there a more convenient way?

Thanks

 
n/a

ShadowCaster

Possibly Insane

Registered
  02/01/2002
Points
  2203
15th December, 2003 at 02:25:54 -

I would just be inclined to enter the code once into the Global Events dialog. This would probably be quicker in the long run, even though there are no Global Qualifiers. Plus then you dont have to make changes on every frame when you update your engine.

Mike

 
"Now I guess we're... 'Path-E-Tech Management'" -Dilbert

Mr Coffee



Registered
  04/09/2003
Points
  440
15th December, 2003 at 13:08:30 -

Yes, you can copy an event using the qualifier into the global event editor. The qualifier can then be edited in the global event editor. Be warned though, that because you are taking advantage of a bug in MMF, that the qualifier MUST be in every frame or else MMF will crash. This is not really a problem, I just put every qualifier in every frame and destroy it at the start of the frame if I don't want it in that specific frame.

 
99 percent chance that the above post is 100 percent correct.

ShadowCaster

Possibly Insane

Registered
  02/01/2002
Points
  2203
15th December, 2003 at 16:27:07 -

I wouldnt trust relying on a bug, people have mentioned doing this before and problems inevitibly arise.

Mike

 
"Now I guess we're... 'Path-E-Tech Management'" -Dilbert

Mr Coffee



Registered
  04/09/2003
Points
  440
16th December, 2003 at 11:30:21 -

Well, I have not had any problems so far doing it, other than the one I mentioned.

 
99 percent chance that the above post is 100 percent correct.

wp



Registered
  22/11/2003
Points
  34
16th December, 2003 at 14:32:40 -

wow, thanks for the replies. I really like the global qualifier "cheat." But if it's a bug, it stands to be corrected in future versions... The reason why I didn't want to paste every behavior for every object type into my program is because there will be lots of different images for every type.

For example, a slippery surface would include ice, greasy surfaces, air sheets (like air hockey) and variations on those based on night/day cycles, forest/city settings. And then for sticky surfaces, there would be something like magnetic floor, sticky goop, etc...

Anyway, I will look into those solutions. Thanks!

 
n/a

Mr Coffee



Registered
  04/09/2003
Points
  440
16th December, 2003 at 19:58:08 -

I don't think they will "fix" it because some people are using it. If they took it out then it would just make people like me mad. According to Clickteam, they don't allow global qualifiers because of the bug I mentioned above, but you can work around it as I said.

 
99 percent chance that the above post is 100 percent correct.

wp



Registered
  22/11/2003
Points
  34
16th December, 2003 at 23:56:25 -

Even better, if they manage to fit in global qualifiers, then we won't have to make that object with all the qualifiers on it in every frame! *fingers crossed*

 
n/a
   

Post Reply



 



Advertisement

Worth A Click