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.
[03:02 am]
Ultraviolet -- I'm gonna send inf to have sex with their moms
[03:02 am]
Ultraviolet -- fuck those motherfuckers
[11:02 pm]
NudeRaider -- PSA: ASUS apparently decided their RMA department needs to "become profitable" and for a while now outright tries to scam customers. They were called out on it a year ago, promised to change, but didn't. https://www.youtube.com/watch?v=7pMrssIrKcY so my recommendation: Stop buying ASUS, and if you already have and need something RMA'd, make sure to not let them bully you into paying.
[03:08 pm]
Oh_Man -- example of wat u mean?
[05:59 am]
NudeRaider -- *is
[05:17 am]
NudeRaider -- despite all its flaws the sound design its fantastic
[2024-5-14. : 10:29 pm]
Oh_Man -- homeworld 3 = massive disappointment
[2024-5-14. : 10:05 am]
Moose -- ya
[2024-5-14. : 5:23 am]
zsnakezz -- yes
[2024-5-12. : 8:51 pm]
l)ark_ssj9kevin -- Are you excited for Homeworld 3?
Please log in to shout.


Members Online: 7jordane1691ra3