It looks to me like you're using a weird programming approach to maybe save time or consolidate functions into a single trigger, but really you're just making things more complicated. Also, why don't you have the event listed for your spawn trigger? Makes it a little harder to troubleshoot.
Do this:
1. Right click your spawn triggers and uncheck "initially on", so it turns the trigger gray. This trigger will NOT FIRE when the map starts.
2. When your timer expires, use an event to turn on spawn region 1 trigger. When a non-player-15 unit enters spawn region 1, use an event to turn on spawn region 2 trigger.
3. Have a spawn trigger just for region 1. How should spawning in region 1 be triggered? I don't know since those details aren't clear to me, so maybe you could better describe the mechanics you want to have for spawning.
ok well the mechanics I wanted for the spawning, was when a player enters a region a wave would spawn and attack them. I would have multiple of them. That is all. I think I have just been over complicating things. The reason I had the timer was because I didn't want people to start before the dialogs were finished so I put road blocks.
DarlD: I cannot figure out how to open your map in editor.
UnitspawnseasymodeEventsUnit-AnyUnitEntersSpawnregion1LocalVariablesConditions(Ownerof(Triggeringunit))!=(Player15from(Allplayers))ActionsTrigger-WaitforEasytoexecute,andWaituntilitcompletesAI-StartthecampaignAIforallcomputerplayersAI-StartthecampaignAIforplayer15General-If(Conditions)thendo(Actions)elsedo(Actions)If(spawnregion1ison)==TrueThenTransmission-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)Debug-Display"spawn region 1 "asdebugoutputusingType1,andDodisplayitinthegamewindowRegion-Move(Triggeringregion)toPoint005General-Repeat(Actions)(2*(Numberofplayersin(ActivePlayers)))timesActionsUnit-Create1Marineforplayer15atSpawnpoint1facing270.0degrees(NoOptions)UnitGroup-Add(Lastcreatedunit)toSpawngroupUnit-OrderallunitsinSpawngroupto(AttacktargetingPoint004)(ReplaceExistingOrders)
Then finally it ends at this ^ (I have one similar to this for every region and difficulty.)
I finally fixed it! what i had to do was make a region before each spawn region. and when a unit enters that new region i turned on the spawn units triggers that worked when a unit enters the main region. I also put under the if statement that the difficulty level was on before it ran.
@fishy77: Go
Well i tried that. Now no units will spawn. It could be that it's not making the variable true. idk
New to the Editor? Need a tutorial? Click Here
Want data assets? Click Here
@fishy77: Go
It looks to me like you're using a weird programming approach to maybe save time or consolidate functions into a single trigger, but really you're just making things more complicated. Also, why don't you have the event listed for your spawn trigger? Makes it a little harder to troubleshoot.
Do this: 1. Right click your spawn triggers and uncheck "initially on", so it turns the trigger gray. This trigger will NOT FIRE when the map starts. 2. When your timer expires, use an event to turn on spawn region 1 trigger. When a non-player-15 unit enters spawn region 1, use an event to turn on spawn region 2 trigger. 3. Have a spawn trigger just for region 1. How should spawning in region 1 be triggered? I don't know since those details aren't clear to me, so maybe you could better describe the mechanics you want to have for spawning.
@SkrowFunk: Go
ok well the mechanics I wanted for the spawning, was when a player enters a region a wave would spawn and attack them. I would have multiple of them. That is all. I think I have just been over complicating things. The reason I had the timer was because I didn't want people to start before the dialogs were finished so I put road blocks.
DarlD: I cannot figure out how to open your map in editor.
New to the Editor? Need a tutorial? Click Here
Want data assets? Click Here
@SkrowFunk: Go
Well, I tried this and nothing will spawn now.
^ this is for the easy difficulty. I did the same thing for all the difficulties.
Then i did this ^
Then finally it ends at this ^ (I have one similar to this for every region and difficulty.)
New to the Editor? Need a tutorial? Click Here
Want data assets? Click Here
@fishy77: Go
Is there anything wrong with my trigger? I feel like it should work but it wont.
New to the Editor? Need a tutorial? Click Here
Want data assets? Click Here
I finally fixed it! what i had to do was make a region before each spawn region. and when a unit enters that new region i turned on the spawn units triggers that worked when a unit enters the main region. I also put under the if statement that the difficulty level was on before it ran.
New to the Editor? Need a tutorial? Click Here
Want data assets? Click Here