The Daily Click ::. Forums ::. Klik Coding Help ::. Active Object Alterable String Limit?
 

Post Reply  Post Oekaki 
 

Posted By Message

GamesterXIII



Registered
  04/12/2008
Points
  1110

I am an April Fool
19th September, 2011 at 04:44:35 -

I'm trying to add new alterable strings to an active object through its properties by clicking the new button.

I get to String J and then I cannot create any more alterable values. Is this normal?

I'm sure I can work around by setting them up at the start of level, but I would prefer not to if possible.

 
n/a

nim



Registered
  17/05/2002
Points
  7234
19th September, 2011 at 05:15:24 -

I'm sure I've set up Alt. Values X and Y through the level editor. I almost always use those to store X and Y coords, so it sounds like there's a problem with MMF2. I have an old build (249) so I can't comment on the current version. Would be interesting to know!

 
//

Pixelthief

Dedicated klik scientist

Registered
  02/01/2002
Points
  3419

Game of the Week WinnerWeekly Picture Me This Winner!You've Been Circy'd!VIP MemberI like Aliens!Evil klikerThe SpinsterI donated an open source project
19th September, 2011 at 09:34:31 -

Objects in MMF2 don't dynamically allocate memory, so they have a specific amount of memory allocated for a specific # of values, strings and flags when you create them, and you can't raise that amount. You could always store it in linked arrays or whatnot, but most people will not exceed 26 values and 10 strings.

 
Gridquest V2.00 is out!!
http://www.create-games.com/download.asp?id=7456

nim



Registered
  17/05/2002
Points
  7234
19th September, 2011 at 10:32:42 -

Ignore my last reply; I just realised that you were talking about strings not values. I get the same problem. Weird eh.

 
//

Chris Burrows



Registered
  14/09/2002
Points
  2396

GOTW WINNER OCT. 2011
19th September, 2011 at 18:41:34 -

It's not a problem, it's just the way it is. Like Pixeltheif said, there are only 10 alterable strings for every active object, A through to J. And for alterable values there are 26, A through to Z.

Global strings and values are different however! UNLIMITED! After you reach Alterable Value Z, it creates AA, then AB, then AC and so on forever. This is for strings and variables. Pretty nifty.

 
n/a

GamesterXIII



Registered
  04/12/2008
Points
  1110

I am an April Fool
19th September, 2011 at 18:57:07 -

Yeah I just used an alternate method.

Thanks, everyone.

 
n/a
   

Post Reply



 



Advertisement

Worth A Click