Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Detecting player loading a savegame possible?
Detecting player loading a savegame possible?
Jul 13 2009, 6:55 am
By: TF-  

Jul 14 2009, 3:18 pm TF- Post #21

🤙🏾

Did that, now I can see the Memory action, but it still doesn't work ingame argh, sure it works with every possible save path?



🤙🏾

Jul 14 2009, 3:25 pm Morphling Post #22



If the map is in "C:\Program_Files\Starcraft\maps\save" then is should work.

Here is the address/text I detected (click to enlarge):


Post has been edited 2 time(s), last time on Jul 14 2009, 3:41 pm by Morphling.



None.

Jul 14 2009, 3:41 pm TF- Post #23

🤙🏾

But then it'll only work for players who installed starcraft there?



🤙🏾

Jul 14 2009, 3:46 pm Morphling Post #24



I believe most people have starcraft in the location. You could always give me the map name so I can make some new triggers so when you play the saved version the triggers would fire when the map is in the downloads folder.



None.

Jul 14 2009, 4:01 pm Kaias Post #25



The major flaw to Morph's method is that it will only work once. The only way you know that the player just loaded it is if that save path is true when it wasn't before. If they save and load again the save path won't change.



None.

Jul 14 2009, 4:23 pm Morphling Post #26



Quote from Kaias
The major flaw to Morph's method is that it will only work once. The only way you know that the player just loaded it is if that save path is true when it wasn't before. If they save and load again the save path won't change.
It does not detect when you load a map or the change in the map path, it detects the path of the map you are currently playing. Also, you only want it to fire once each game so don't put a preserve in the trigger.

Post has been edited 1 time(s), last time on Jul 14 2009, 4:28 pm by Morphling.



None.

Jul 15 2009, 4:19 pm payne Post #27

:payne:

I haven't read the post at all (sorry), but I know it is possible: The Optical Chamber has a save detection system which crashes you when you load a saved game.
You can download it via http://www.staredit.net/topic/5222/



None.

Jul 15 2009, 5:06 pm Kaias Post #28



Quote from Morphling
Quote from Kaias
The major flaw to Morph's method is that it will only work once. The only way you know that the player just loaded it is if that save path is true when it wasn't before. If they save and load again the save path won't change.
It does not detect when you load a map or the change in the map path, it detects the path of the map you are currently playing. Also, you only want it to fire once each game so don't put a preserve in the trigger.
I know that. What I am saying is that the only way it works is because of difference in file path which is why it only works once.



None.

Jul 15 2009, 6:37 pm Psionic_Storm Post #29



Quote from TF-
And the Wait solution, I could probably do that, can Wait handle a 5:18 song though?

Of course it can.



None.

Jul 15 2009, 7:33 pm NudeRaider Post #30

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Quote from Psionic_Storm
Quote from TF-
And the Wait solution, I could probably do that, can Wait handle a 5:18 song though?

Of course it can.
wait( (5*60 + 18) * 1000ms ) = wait(318000)

But then no human player (with activated music) can run another wait, not even hyper triggers (use computers).




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[09:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
[07:56 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: "War nie wirklich weg" 🎵
sing it brother
[2024-4-27. : 6:24 pm]
NudeRaider -- "War nie wirklich weg" 🎵
[2024-4-27. : 3:33 pm]
O)FaRTy1billion[MM] -- o sen is back
[2024-4-27. : 1:53 am]
Ultraviolet -- :lol:
[2024-4-26. : 6:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[2024-4-26. : 6:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[2024-4-26. : 6:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[2024-4-26. : 6:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[2024-4-26. : 6:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
Please log in to shout.


Members Online: Oh_Man, NudeRaider