Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: [SOLVED] Problem with security and map system
[SOLVED] Problem with security and map system
Jun 4 2011, 2:06 pm
By: OutCast  

Jun 4 2011, 2:06 pm OutCast Post #1



There are several problems:

1) I had almost reached the limit of strings

2) I do not know the available method to prevent the landing of Dark Templar (Hero) in the transport / shuttle / Overlord. Location is too close to the battlefield, so that option with an air of locations does not pass, and transport have to fly over this place (where the Dark Templar (Hero)) too.

3) I can not understand how to use a trigger (now using the Display Message + Wait ()) in order to get a message to hang on the screen longer, and it does not use the Wait ().

Please help in solving these problems. Apologize for the clumsy English, I did not really know well, so most of the text translated by Google.

Post has been edited 1 time(s), last time on Jun 4 2011, 3:36 pm by OutCast.



None.

Jun 4 2011, 3:03 pm Ahli Post #2

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

Quote from OutCast
1) I had almost reached the limit of strings
Remove comments.

Quote from OutCast
2) I do not know the available method to prevent the landing of Dark Templar (Hero) in the transport / shuttle / Overlord. Location is too close to the battlefield, so that option with an air of locations does not pass, and transport have to fly over this place (where the Dark Templar (Hero)) too.
Detect that the DT is not on the ground anymore and execute the "Load out" ai script to unload all units. So you need 2 locations there. 1 that is only ground and a normal one that will catch the transporter.

Quote from OutCast
3) I can not understand how to use a trigger (now using the Display Message + Wait ()) in order to get a message to hang on the screen longer, and it does not use the Wait ().
Use a transmission action instead, if you want to have a specific length. Else you can add spaces (" ") which will make the String longer and SC will display it longer.

Else you could display the same message multiple times with 11 line breaks. Then all chat messages will be pushed out of the screen.




Jun 4 2011, 3:29 pm OutCast Post #3



Thank you very much. Trigger "Load out" works for Human player? Don't know it =)



None.

Jun 4 2011, 10:26 pm Lanthanide Post #4



Yes, the Unload trigger action works on human players.

You need to be using scmdraft 2 to access it; it's an AI script. Using Classic trigedit: Run AI Script At Location - Exit Transport.



None.

Jun 4 2011, 10:53 pm OutCast Post #5



Thx, I already use SCMDraft 2.

Code
Trigger("Player 1"){
Conditions:
    Bring("Current Player", "Dark Templar (Hero)", "\x015Buy Hero pl1", Exactly, 0);
    Bring("Current Player", "Dark Templar (Hero)", "\x016Buy Race Level pl1", Exactly, 0);
    Bring("Current Player", "Dark Templar (Hero)", "\x004Stack Mode pl1", Exactly, 0);
    Bring("Current Player", "Dark Templar (Hero)", "\x01eStack Off pl1", Exactly, 0);
    Bring("Current Player", "Dark Templar (Hero)", "\x011Gas Mode pl1", Exactly, 0);

Actions:
    Move Unit("Current Player", "Terran Dropship", All, "transport pl1", "transport pl1");
    Move Unit("Current Player", "Protoss Shuttle", All, "transport pl1", "transport pl1");
    Move Unit("Current Player", "Zerg Overlord", All, "transport pl1", "transport pl1");
    Run AI Script At Location("ExTr", "transport pl1");
    Preserve Trigger();
}



All the conditional location only ground. "Transport pl1" air. And it looks like the action very well.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2026-4-18. : 3:57 am]
NudeRaider -- https://staredit.net/381600/ You have 5 minutes, then you can only edit your posts.
[2026-4-17. : 4:05 pm]
NudeRaider -- DarkenedFantasies
DarkenedFantasies shouted: you eat lots of beans
:lol:
[2026-4-17. : 11:30 am]
NudeRaider -- I would like 3000 minerals, please
[2026-4-16. : 7:32 pm]
Zoan -- I got $2000 bonus. I would like 2000 minerals, please
[2026-4-16. : 4:15 am]
DarkenedFantasies -- you eat lots of beans
[2026-4-16. : 3:46 am]
IskatuMesk -- how do i get gas
[2026-4-15. : 11:43 pm]
Moose -- you don't
[2026-4-15. : 10:06 pm]
Zoan -- how do i get minerals
[2026-4-14. : 11:45 pm]
ClansAreForGays -- Anyone wanna played Skewed StarCraft?
[2026-4-14. : 12:07 am]
Vrael -- NudeRaider
NudeRaider shouted: Vrael ranting still is though
you're a gentleman and a scholar, thank you
Please log in to shout.


Members Online: Zycorax