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.
[09:38 am]
NudeRaider -- Symmetry
Symmetry shouted: I meant more why is it relevant
I can't tell if it's relevant. You provided literally no context so I was providing an equally generic answer.
[05:02 am]
Symmetry -- I refuse to let it die! Send forth the memes!
[05:00 am]
RIVE -- Brood War Mapping we can believe in.
[02:58 am]
Ultraviolet -- RIVE
RIVE shouted: #MBWMGA
Resident MAGAt approves
[02:20 am]
Symmetry -- I meant more why is it relevant
[2026-7-13. : 7:20 am]
RIVE -- #MBWMGA
[2026-7-13. : 1:11 am]
Symmetry -- https://staredit.net/topic/18903/ can u do it
[2026-7-12. : 7:41 pm]
Ultraviolet -- just sent you a message on Discord. I suspect you're probably trying to change unit speeds for units that don't use flingy.dat for movement (like any units that walk instead of hovering/flying). You can change their movement to flingy, but they unfortunately look more like they're gliding than walking when you do that.
[2026-7-12. : 7:31 pm]
Symmetry -- EE2, I've been using setdatfile successfully for units.dat and weapons.dat but the flingy changes don't seem to happen
Please log in to shout.


Members Online: Roy