Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Dropship Spawn Method
Dropship Spawn Method
Dec 11 2007, 8:02 am
By: Moskau  

Dec 11 2007, 8:02 am Moskau Post #1



Well as the title says, Dropship Spawn Method i simply just do not know how to do it.
What i'm trying to do:
Players have a Protoss Shuttle, When Unit Drops Out It Takes Away Cash Then Spawns a Unit at the Spawn Zone
Can someone lend me a hand? :dontgetit:



None.

Dec 11 2007, 9:29 am NudeRaider Post #2

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

When you think about it its very logical:

Always Center a location 'drop' on the dropship that covers ground only.

Detection Trigger:
Conditions:
Current Player brings a least 1 Marine to 'drop'
Current Player has gathered at least 100 Minerals
Actions:
Execute ai script 'Enter closest dropship' at 'drop'
Create 1 Jim Raynor for Current Player at 'spawn'
Subtract 100 Minerals for Current Player
Preserve

Make a similar trigger when he has not enough minerals which doesn't subtract minerals and doesnt spawn a jim raynor.

This works best with hypertriggers.
To make it more reliable always order the dropship to 'drop' (no need to recenter 'drop' in this case) and surround the drop zone with unwalkable terrain.




Dec 11 2007, 10:01 pm Moskau Post #3



Thank you so much ^^
Much Appretiated :}



None.

Dec 12 2007, 12:20 am who Post #4



It also helps for the trigger only to execute if a switch/death counter is cleared, and set it after executing the ai script (because the trigger can sometimes fire multiple times from my experience). Then have a separate trigger that clears the switch if the player brings 0 units to the drop location.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[01:35 am]
Ultraviolet -- Vrael
Vrael shouted: NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
Gonna put deez sportballs in your mouth
[01:24 pm]
Vrael -- NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
[2024-4-30. : 5:08 pm]
Oh_Man -- https://youtu.be/lGxUOgfmUCQ
[2024-4-30. : 7:43 am]
NudeRaider -- Vrael
Vrael shouted: if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
Yeah I'm not a big fan of Westernhagen either, Fanta vier much better! But they didn't drop the lyrics that fit the situation. Farty: Ich bin wieder hier; nobody: in meinem Revier; Me: war nie wirklich weg
[2024-4-29. : 6:36 pm]
RIVE -- Nah, I'm still on Orange Box.
[2024-4-29. : 4:36 pm]
Oh_Man -- anyone play Outside the Box yet? it was a fun time
[2024-4-29. : 12:52 pm]
Vrael -- if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
[2024-4-29. : 11:17 am]
Zycorax -- :wob:
[2024-4-27. : 9:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
[2024-4-27. : 7:56 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: "War nie wirklich weg" 🎵
sing it brother
Please log in to shout.


Members Online: lil-Inferno, Roy