The Daily Click ::. Forums ::. Klik Coding Help ::. Help - 1000 Global Values Object
 

Post Reply  Post Oekaki 
 

Posted By Message

RyGuyX



Registered
  29/08/2002
Points
  495
5th December, 2003 at 15:50:53 -

Yah, does anybody use the 1000 global values object. I can't figure out why it won't transfer the values over different frames in MMF. It's named the same in both frames, in fact I tried Copying and Pasting it from one frame to the other - nope, I also tried going in to the frame without it and selecting the object from the frame with it and putting it in to the new frame - nope, I even tried duplicating the object in the one frame and cutting and pasting that in to the new frame - STILL NO.

Any ideas? I'm stuck.

 
----

www.kimball-law.com/hg (huntergamez.tk)

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
5th December, 2003 at 15:52:54 -

If you need more than 24 Global vals in MMF then maybe you should find another way around!

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy

Daniel[Crazy_Productions]

Possibly Insane

Registered
  29/12/2002
Points
  2505
5th December, 2003 at 15:55:14 -

use a bloody ini duh!

 
Beware of life ...so far noone have survived it.......

RyGuyX



Registered
  29/08/2002
Points
  495
5th December, 2003 at 16:52:51 -

Yes, I use INIs now, but I started this engine quite a while back before I started using INIs and I'd like some help to fix my current situation without changing ALL those values o_O.

 
----

www.kimball-law.com/hg (huntergamez.tk)

Pete Nattress

Cheesy Bits img src/uploads/sccheesegif

Registered
  23/09/2002
Points
  4811
6th December, 2003 at 05:45:27 -

1000 GV object is very buggy, or so i've heard. you're better off using INIs.

 
www.thenatflap.co.uk

Tiles

Possibly Insane

Registered
  06/12/2002
Points
  2339

GOTM 3TH PLACE WINNER - JANUARY 2010
6th December, 2003 at 09:21:23 -

stange that everybody is telling that the 1000 global value object is buggy.
not knowing how to handle it doesnīt mean that it is buggy .also hearing from somebody else that it is buggy also doesnīt mean that it is

i am using it.and havenīt got any problems with it.works perfect.

ryguyx: are you sure that you have coded the events in the right way?
maybe there is nothing to carry to the next frame ...

use a counter to test if there is a value set in the 1000 global value object.
or upload your example somewhere to have a look at.
other thought: which version of mmf do you use? mine is mmf 1.5 build 116

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

Zane



Registered
  09/09/2003
Points
  1183
6th December, 2003 at 10:27:49 -

make an active ocject a global object and put it in every level. then use the alterable values of the object as your global values. that should work perfectly and gives you 26 extra values.

 
www.klikforever.co.uk
GO THERE!!!

RyGuyX



Registered
  29/08/2002
Points
  495
6th December, 2003 at 19:32:29 -

Yes I'm using it correctly - I allready tried and it is setting the global values perfectly in the first frame, but when I do the exact same test in the next frame, all the values appear as 0.

It looks like I'm just gonna have to code the friggin' INI file.

 
----

www.kimball-law.com/hg (huntergamez.tk)

Tiles

Possibly Insane

Registered
  06/12/2002
Points
  2339

GOTM 3TH PLACE WINNER - JANUARY 2010
7th December, 2003 at 03:21:42 -

really strange this. should be asked in the clickteam forum, reported as a bug ...

in my opinion using inis is the worst way to store datas.not only that the user can modify it very easy, it also needs to be written at the end of a frame and reread for next frame...
there are several other ways.arrays (several versions around), datastore object, magic deque i think is also for storing datas...

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

RyGuyX



Registered
  29/08/2002
Points
  495
7th December, 2003 at 23:24:19 -

somebody make a working global value extension that has a datastore sytem like an ini file - that would be a good extension!

 
----

www.kimball-law.com/hg (huntergamez.tk)

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
8th December, 2003 at 04:06:35 -

Try the datastore object.

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy

DeadmanDines

Best Article Writer

Registered
  27/04/2006
Points
  4758
8th December, 2003 at 08:36:16 -

Or Associative Array Object. That can read INI files, and write them I think.

Basically, you have an array that can have text names instead of numbers to refer to each line (like 'items' in INI files), and one key (item) can hold both a string and a value.

I can tell you about it on MSN some time if you want.

 
191 / 9999 * 7 + 191 * 7
   

Post Reply



 



Advertisement

Worth A Click