The Daily Click ::. Forums ::. Klik Coding Help ::. Object Arrays?
 

Post Reply  Post Oekaki 
 

Posted By Message

Del Duio

Born in a Bowling Alley

Registered
  29/07/2005
Points
  1078

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!Evil klikerHasslevania 2!The OutlawSanta Boot
28th January, 2006 at 16:28:09 -

I had a quick question. I know that in VB6 you can have variable arrays and object arrays, but so far in MMF I can't figure out how to create an array of objects. I know you can clone them, but that just gives them different names (picture1, picture2, etc.) whereas what I want would look more like this (picture(1), picture(2)).

And if you try to copy an object, the new one will have all of its properties, yes, but if you change one object all similar will be affected.

An object array would be great because it's so much easier to check or add their values in a loop.

Thank you!

 
--

"Del Duio has received 0 trophies. Click here to see them all."

"To be a true ninja you must first pick the most stealthy of our assorted combat suits. Might I suggest the bright neon orange?"

DXF Games, coming next: Hasslevania 2- This Space for Rent!

Klikmaster

Master of all things Klik

Registered
  08/07/2002
Points
  2599

Has Donated, Thank You!You've Been Circy'd!VIP MemberPS3 Owner
28th January, 2006 at 17:05:31 -

Instead of a control array as in vb, you can determine which object by using its alterable values.
There is a "spread value" option which allows you to give each instance of an object a different value.

 
n/a

Del Duio

Born in a Bowling Alley

Registered
  29/07/2005
Points
  1078

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!Evil klikerHasslevania 2!The OutlawSanta Boot
28th January, 2006 at 17:50:24 -

Oh, excellent! I'll try that later tonight when I get home!

Thanks Klikmaster!

 
--

"Del Duio has received 0 trophies. Click here to see them all."

"To be a true ninja you must first pick the most stealthy of our assorted combat suits. Might I suggest the bright neon orange?"

DXF Games, coming next: Hasslevania 2- This Space for Rent!
   

Post Reply



 



Advertisement

Worth A Click