Im new and need help

F

-fool-

Guest
new trigger

conditions
--what ever you want
actions
--create 100 (marines) at (spot)

dont know the lotr maps.. ask more if you need more help.
 
D

Dark_Zeratul

Guest
like pretend theres a count down timer and when it reaches 0 i get 10 marines
and if i built a barrack and the counter goes down to zero i get 10 marines and 10 ghosts
 
L

LazyCoder

Guest
Then you would do:

countdown timer is exactly 0 seconds
create 10 marines at location

countdown timer is exactly 0 seconds
player commands at least one barracks
create 10 ghost at location

if you want the countdown timer to keep going over and over again then add in:
Always
set countdowntimer to 10 seconds

and also add that action to the marine creation trigger.
 
T

True Scorn

Guest
There are several ways

Here's an expansion of what is mentioned above

Trigger 1
Condition
-Whatever (Always, or bring unit to certain spot, etc)
Action
-Set Countdown timer to whenever (LOTR Siege of Gondor does approximatly a minute, but because of SC time, you'll have to do approx 1:30)

Trigger 2
Condition
-Countdown Timer is exactly 0 seconds
Action
-Create 10 marines at 'location'
Set Countdown timer to 1:30 (If you want the spawn to occur over and over again)
-Preserve Trigger

Here is the more popular version, as demonstrated in LOTR SOG

Condition (SOG depends on a certain building to be built, for example "Player 1 controls exactly 1 barracks but for this demonstration we will use 'Always')
-'Always'
Action
-Create 10 Marines at 'location'
-Wait 35000 (The time used in LOTR SOG)
-Preserve Trigger

This makes it so the trigger is constantly being flipped, but only actually runs its entire circuit (creating the marines) every 35000 milliseconds, or approx 59.9 seconds

Here is the version I prefer, because for some reason the Wait trigger isn't completely accurate and goes way too fast or to slow, I'm not sure how LOTR SOG fixed this

--Trigger 1

Conditions
-Always
Actions
-Set Player 1's custom score to 60

--Trigger2

Conditions
-Always
Actions
-Subtract 1 from Player 1's custom score
-Preserve trigger
(To eliminate a crash, StarCraft will only initiate a trigger every 4 seconds, or around 1 second in "Fastest" mode, so this will subtract from the Custom score around every second)

--Trigger 3

Condtions
-Player 1's custom score is exactly 0
-(Here I usually use another trigger like in LOTR maps, such as in my map-in-progress if Player 6 (Scorn) commands exactly one Clockwork Excavation (Protoss Gateway))
Actions
-Create 10 marines at location
-Set Player 1's custom score to 60
-Preserve Trigger

When the score hits 0, I spawn stuff and set the custom score back to 60, completing the perpetual trigger.


Of course, these are only spawn triggers that occur over and over again, as demonstrated in many LOTR maps. Hopefully these help
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top