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: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
[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?
[2024-5-12. : 8:44 pm]
l)ark_ssj9kevin -- Hi Brusilov
[2024-5-12. : 4:35 pm]
O)FaRTy1billion[MM] -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
my server that was hosting it died
[2024-5-10. : 8:46 pm]
NudeRaider -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
https://armoha.github.io/eud-book/
Please log in to shout.


Members Online: 3emmae8523tM0, Ultraviolet, 3harperc672wa9