I want to make a building to spawn zerg units but when I make them it morphs the building and it kills the building. How do I make it train and not morph?
I want to spawn a wave when a unit passes through a few regions throughout the map. I put in debugs and the trigger is running but once it gets to the If statements it wont work. Why won't it spawn my units?
Here's what I have:
EventsUnit-AnyUnitEnters(Region(AnyRegion))LocalVariablesConditionsActionsTrigger-WaitforEasytoexecute,andWaituntilitcompletesDebug-Display"unit spawns trigger running "asdebugoutputusingType1,andDodisplayitinthegamewindowAI-StartthecampaignAIforallcomputerplayersAI-StartthecampaignAIforplayer15General-If(Conditions)thendo(Actions)elsedo(Actions)If((Triggeringunit)isinSpawnregion1)==TrueThenDebug-Display"spawn region 1 "asdebugoutputusingType1,andDodisplayitinthegamewindowTransmission-Sendtransmissionto(Allplayers)from(Odin[57.95,219.02]withFlash(DoNotoverrideportrait)playingTalk)playing(SoundlinkfromsoundIDTTychus01BriefingAdjutant00014atindexAnySoundIndex)withname"Warning"andmessage"Wave identified."using(CinematicportraitatCenterLeft)playingTalk(Add2.0seconds,Don'tWaituntilitfinishes)Region-Move(Triggeringregion)toPoint005General-Repeat(Actions)(3*(Numberofplayersin(ActivePlayers)))timesActionsUnit-Create1Marineforplayer15atSpawnpoint1facing270.0degrees(NoOptions)UnitGroup-Add(Lastcreatedunit)toSpawngroupUnit-OrderallunitsinSpawngroupto(AttacktargetingPoint004)(ReplaceExistingOrders)
I figured it out. What you have to do is make a repeat action (repeat for however many units you want), then spawn 1 unit and add that unit to a unit group under the actions of the repeat. then outside of the repeat you order all units in the unit group to attack the point. :) done.
I have a wave that I want to use but I can't get it to start moving. I got the units to spawn but they just stand there and wont move to the target I want.
Here's what I have:
I have a wave that I want to use but I can't get it to start moving. I got the units to spawn but they just stand there and wont move to the target I want.
Solution:
What you have to do is make a repeat action (repeat for however many units you want), then spawn 1 unit and add that unit to a unit group under the actions of the repeat. then outside of the repeat you order all units in the unit group to attack the point. :) done.
I looked up how to make a mod, and it said to save the map as an sc2 component and then copy that file to the mods folder in sc2. I did that and my mod wont appear in the dependencies like it should. What did I do wrong?
0
I want to make a building to spawn zerg units but when I make them it morphs the building and it kills the building. How do I make it train and not morph?
0
@Oatin: Go
I actually had that condition in before but it didn't work either.
0
Try modifying the variable to add 1 to the integer when the unit is created or added to the group. I think that should work.
0
I want to spawn a wave when a unit passes through a few regions throughout the map. I put in debugs and the trigger is running but once it gets to the If statements it wont work. Why won't it spawn my units?
Here's what I have:
0
@fishy77: Go
I figured it out. What you have to do is make a repeat action (repeat for however many units you want), then spawn 1 unit and add that unit to a unit group under the actions of the repeat. then outside of the repeat you order all units in the unit group to attack the point. :) done.
0
@fishy77: Go
I still can't get the wave to move. Does anyone know?
0
@fishy77: Go
Sorry I didn't mean to make 2 threads
0
@SoulFilcher: Go
oh. that should work thanks
0
@fishy77: Go
Hmm they still don't seem to move
0
@Oatin: Go
oh... lol well I have never done a wave before so I didn't realize I needed that. I shall try it.
0
I have a wave that I want to use but I can't get it to start moving. I got the units to spawn but they just stand there and wont move to the target I want.
Here's what I have:
I know some of those actions are pointless but nothing was working.
0
I have a wave that I want to use but I can't get it to start moving. I got the units to spawn but they just stand there and wont move to the target I want.
Solution:
What you have to do is make a repeat action (repeat for however many units you want), then spawn 1 unit and add that unit to a unit group under the actions of the repeat. then outside of the repeat you order all units in the unit group to attack the point. :) done.
0
I made a unit that was not click-able before (Zhakul'Das Library) into a shop and I need it to be clicked but I don't know how do do that.
0
I want to make an ability that will use energy over time like the cloak ability does. How do I do that?
0
I looked up how to make a mod, and it said to save the map as an sc2 component and then copy that file to the mods folder in sc2. I did that and my mod wont appear in the dependencies like it should. What did I do wrong?