Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: [Enter transport] trigger problem.
[Enter transport] trigger problem.
Jan 14 2010, 4:47 pm
By: Juano  

Jan 14 2010, 4:47 pm Juano Post #1



Hi! I searched in the forum and other places, but I didn't find someone who actually have the same problem:
I'm making a (my first) RPG map in Scmdraft 2.0, and I need to load some transports from an allied computer player to later drop in the game as reinforcements, but when I execute the script to load them, as soon as they're all in, the units just unload from the Dropships and go back to their starting position. I didn't set any AI script, 'cause I don't want the computer to do anything 'till it's time.



Here's the script:
Trigger
Players

  • Player 1 (red allied computer)
  • Conditions

  • Always
  • Actions

  • Execute AI script 'Enter Transport' at 'Regrouping area'.


  • I checked everything, and seems like it's ok (apparently not), modify the Location to only one transport, I even created a map from scratch with some units just to load a transport, and still are unloaded after they're all in (I attached the test map, if someone wants to check it).
    I observed that the enemies I place in the map (zerglings for example) tend to go right back to their original place as soon as they can, so this might be happening here as well, but if this is the reason, I don't know how to fix it.
    Thanks for your time, I hope to finish this map soon so I can upload it if someone wants to play it.

    Seeya!


    - Juano.


    Note: The 'bouncing' attitude of the zerglings when they stuck going back and forward and neither attack or retreat makes them too easy targets, is there a way to fix this too?

    Attachments:
    test.scm
    Hits: 1 Size: 51.25kb



    None.

    Jan 14 2010, 5:24 pm CecilSunkure Post #2



    This is probably because the player loading the shuttles are controlled by computers. Even when Ai scripts aren't run, computer players that own things like overlords, dropships, and shuttles, move these units around at will. What I did in my RPG, is I made my CPU player the same color as the neutral player, so I could place neutral dropships wherever I wanted. Another thing you could do, is detect via a location with only air detection enabled to detect when a certain amount of units are in the air, and then give the dropship to another player, preferably not a computer player.

    In my RPG, I also have two players that are set to neutral, so that I can manipulate their units and deathcounts, without the computer's inherent Ai messing around with stuff like this. If you have an extra player in your RPG, you should consider setting it to neutral so that you do load dropships with it, and have placed burrowed units as locations, without fearing the computer Ai screwing around with stuff. This would be good to use to load your dropships until you are ready to give them to the correct computer player.

    About the zergling target acquiring, you can solve this by ordering the zerglings to patrol to wherever the human player is. You can do this in many different ways, but you just need to give the zergling an order, instead of just pre-placing the zergling and letting it sit there until the human controlled units show up.

    Post has been edited 2 time(s), last time on Jan 14 2010, 5:30 pm by CecilSunkure.



    None.

    Jan 14 2010, 6:46 pm Juano Post #3



    Thank you very much!, It's quite advanced to me, but I'll do it. I just found this site and is awesome all the knowledge in here.
    Thank you again, It's a simple map I'm making, but I hope people find it fun.

    Seeya!


    P.S.: I'm downloading your map, can't wait to play it!



    None.

    Jan 14 2010, 6:59 pm CecilSunkure Post #4



    Haha, thanks! And yeah, I find making maps fun ^^

    Let us know if you need more help with this.



    None.

    Jan 15 2010, 7:03 am Kimaru Post #5



    OR, there is an easier way to do this. Instead of physically loading units into the dropships and dealing with all the side effects that come with computer AI, you could just send the dropships to point X whenever you want and create the units via triggers under the dropship with center location. But then again, it's up to you. Good luck with your map.



    None.

    Jan 15 2010, 2:52 pm CecilSunkure Post #6



    Sometimes the computer player immediately drops units from the dropship//shuttle before the rest even load.

    Post has been edited 1 time(s), last time on Jan 16 2010, 2:51 pm by NudeRaider. Reason: your info is unrelated to the quote.



    None.

    Options
      Back to forum
    Please log in to reply to this topic or to report it.
    Members in this topic: None.
    [02:43 am]
    Symmetry -- I'm doing my best, damn it
    [04:46 pm]
    Ultraviolet -- @:@
    @:@ shouted: this community still going strong?
    Still going.. strong is debatable though.
    [04:13 pm]
    WeirdoX4857 -- I can't believe this is really been around since 2003 but it does look classic and old asf still better than talking to kids on discord ranting about skibidi toilet and sexuality or whatever mental illness is going on in their heads
    [04:11 pm]
    WeirdoX4857 -- Nigga how you ask is it still going strong when you get a text every 3 miles per hour or something
    [04:10 pm]
    WeirdoX4857 -- Where is everybody
    [01:21 pm]
    @:@ -- this community still going strong?
    [2026-9-27. : 4:30 pm]
    Oh_Man -- yeah, probs
    [2026-9-27. : 3:11 pm]
    NudeRaider -- I bet it just needs another training session against pros instead of only against itself and nobody will be able to stop it anymore.
    [2026-9-27. : 3:09 pm]
    NudeRaider -- Oh_Man
    Oh_Man shouted: pluto vs pro gamer snow: https://youtu.be/NOXXpATkdZU
    so it can be beaten by a prepared pro, even in macro games, if only barely. the muta micro in particular seems really hard to handle for protoss ground though. In the open goons can't catch them, in the base they trip over buildings, it just instantly flies out of storms and they fly circles around archons. Mass cannons do work, but can't cover the whole map with it. Probably need mass corsair to counter and hope you can outmaneuver all the scourge.
    [2026-9-27. : 2:14 am]
    Oh_Man -- pluto vs pro gamer snow: https://youtu.be/NOXXpATkdZU
    Please log in to shout.


    Members Online: UndeadStar, MarineElite