Author Topic: A 'wand of saving'  (Read 471 times)

Legacy_apunyfly

  • Jr. Member
  • **
  • Posts: 60
  • Karma: +0/-0
A 'wand of saving'
« on: April 17, 2011, 10:48:41 am »


               All right,I'm wondering if one can tie all the actions linked to saving to an item...
I'm thinking something along the lines of 'when used, this item memorizes a specific moment in time and when something specific is accomplished, sends you immediately back to that instant in the past.'

In essence, apart from one or two specific features (special item, curse, etc.) you return the same as you were when you 'not-quite-saved'.

Has it been done ? Is it possible ? I'm not a very good scripter... so I can't say.

I know it soundsd a LOT like saving but that's not quite it.
I guess it would also be even better if it were more flexible, but that's secondary.
               
               

               
            

Legacy_TSMDude

  • Hero Member
  • *****
  • Posts: 1515
  • Karma: +0/-0
A 'wand of saving'
« Reply #1 on: April 17, 2011, 02:30:43 pm »


               Save to the same spot or actually send you to that spot and take away what you have in items and exp too?
               
               

               
            

Legacy_apunyfly

  • Jr. Member
  • **
  • Posts: 60
  • Karma: +0/-0
A 'wand of saving'
« Reply #2 on: April 17, 2011, 05:39:57 pm »


               Yeah, taking away the XP and gold. As if you were going back in time, albeit with a few minor changes.
               
               

               
            

Legacy_GhostOfGod

  • Hero Member
  • *****
  • Posts: 1490
  • Karma: +0/-0
A 'wand of saving'
« Reply #3 on: April 18, 2011, 02:55:31 am »


               Well...it depends on what all you want to save and how often and how laggy you want things to be. Is this mulitplayer or single player?

Are you wanting to save everything like location, level, items in inventory and/or equipped items, gold? Storing and retrieving many objects and variable at the same time can cause quite a bit of lag. But it can be done.

If you wanted to literally save the actual time of the module, you can not set time backwards.
               
               

               


                     Modifié par GhostOfGod, 18 avril 2011 - 01:55 .
                     
                  


            

Legacy_apunyfly

  • Jr. Member
  • **
  • Posts: 60
  • Karma: +0/-0
A 'wand of saving'
« Reply #4 on: April 18, 2011, 02:58:55 pm »


               Yeah... Hadn't thought of that... But there must be ways around it I suppose.
It's single player. Never played multiplayer, don't know what it's like, and it would also complicate things even more.

I think one does have to save just about everything. Or maybe there could be a less engine-heavy way to do it... ?

As for time setting, can't one set time ? I can't check the toolset, but there must be a SetTime function. It would be I think good enough...

But yeah, I think all that saving mumbo-jumbo would only be required for a few areas...

Maybe it would be less demanding if it were done over a set of triggers perhaps ? Each progressively returning part of the PC's settings to what they were at that time period, apart from a couple of changes... Before returning him to the location on the very last trigger...

Sorry If I'm not very specific, I hope that is enough to go by...