The Daily Click ::. Forums ::. Klik Coding Help ::. Saving the position of an object
 

Post Reply  Post Oekaki 
 

Posted By Message

DrJake



Registered
  02/01/2002
Points
  123
1st March, 2004 at 10:42:33 -

When I save the position of an object then load it all goes great.. but what about saving the position of that object, but theres lets say, 5 of them. Would something no get messes up? I just want to know the best method of savin the position of an object.. but there is a few of the same object. anyone know what i can do?

 
drjake

The Chris Street

Administrator
Unspeakably Lazy Admin

Registered
  14/05/2002
Points
  48488

Game of the Week WinnerClickzine StaffAcoders MemberKlikCast StarVIP MemberPicture Me This Round 35 Winner!Second GOTW AwardYou've Been Circy'd!Picture Me This Round 38 Winner!GOTM December Third Place!!
I am an April FoolKliktober Special Award Tag
1st March, 2004 at 10:53:42 -

If you have MMF 1.5 and download the latest build, theres an extention called the Savegame extention, and it saves the position of all objects of the same type. I havent totally mastered this yet though.

 
n/a

ShadowCaster

Possibly Insane

Registered
  02/01/2002
Points
  2203
1st March, 2004 at 20:41:07 -

Two alternatives:
- Save using the "Fixed Value" of the object
- Save using a "Spread Value" between the objects

Though the Save Game extension doesnt require as much work, so I recommend that if you have MMF 1.5. Otherwise try one of the above.

Mike

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

Post Reply



 



Advertisement

Worth A Click