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.
    [06:47 am]
    NudeRaider -- lil-Inferno
    lil-Inferno shouted: nah
    strong
    [05:41 am]
    Ultraviolet -- 🤔 so inf is in you?
    [04:57 am]
    O)FaRTy1billion[MM] -- my name is mud
    [04:35 am]
    Ultraviolet -- mud, meet my friend, the stick
    [10:07 pm]
    lil-Inferno -- nah
    [08:36 pm]
    Ultraviolet -- Inf, we've got a job for you. ASUS has been very naughty and we need our lil guy to go do their mom's to teach them if they fuck around, they gon' find out
    [05:25 pm]
    NudeRaider -- there he is, right on time! Go UV! :D
    [05:24 pm]
    lil-Inferno -- poopoo
    [05:14 pm]
    UndeadStar -- I wonder if that's what happened to me. A returned product (screen) was "officially lost" for a while before being found and refunded. Maybe it would have remained "lost" if I didn't communicate?
    [03:36 pm]
    NudeRaider -- :lol:
    Please log in to shout.


    Members Online: 9camilac8523wp6, jjf28, 3miae123rr9, Roy