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.
[10:41 am]
ManCubuS -- Seems like something's broken regarding the site then. Sadge...
[07:36 am]
Oh_Man -- have i ever told u guys my SC2 pro-gamer story
[11:30 pm]
Ultraviolet -- That's strange, it looks like you targeted the base image file (sometimes people make the mistake of just using the imgur page link which doesn't work for embedding) but it still didn't work it sounds like.
[2026-7-26. : 3:34 pm]
ManCubuS -- Used : " [img=https://i.imgur.com/gpOjTuD.jpeg] "
[2026-7-26. : 3:28 pm]
ManCubuS -- Even tried with imgur, doesn't attach.
[2026-7-26. : 3:14 pm]
ManCubuS -- I should try a workaround, thanks! Sadly imgur is blocked in my country for some unknown reason.
[2026-7-26. : 3:05 pm]
NudeRaider -- I think SEN has trouble with https or hotlinking is forbidden. It certainly is nothing about the size, it just fails to get any size. You can get it working if you use imgur and include the actual image link for the img tag. Like this: [img=https://i.imgur.com/ddYqXZa.jpeg]
[2026-7-26. : 11:15 am]
ManCubuS -- Hey fellas! Anyone knows why when I try to upload an image it says "failed to get image size"? I even tried making it so small. Imgur isn't working here and I tried postimg no luck.
[2026-7-23. : 6:40 am]
Oh_Man -- true
[2026-7-23. : 3:16 am]
RIVE -- Still annoyed there was never a trigger to stop or pause wavs.
Please log in to shout.


Members Online: Zycorax, Dem0n