Problem with Trigger and making a new one - Spawn creeps

Aqkastik

New Member
Reaction score
0
Spawn Sentinel
Events
Time - Every 30.00 seconds of game time
Conditions
Actions
-------- Spawn Center --------
Set Point = (Center of Spawn Dark <gen>)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Arcane Vault 0050 <gen> is alive) Equal to True
Then - Actions
Unit - Create 3 Footman for Player 12 (Brown) at (Center of Spawn Dark <gen>) facing 45.00 degrees
Else - Actions
Unit - Create 3 Footman for Player 12 (Brown) at (Center of Spawn Dark <gen>) facing 45.00 degrees
Set Point = (Center of Spawn Dark <gen>)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Arcane Vault 0050 <gen> is alive) Equal to True
Then - Actions
Unit - Create 1 Sorceress for Player 12 (Brown) at (Center of Spawn Dark <gen>) facing 45.00 degrees
Else - Actions
Unit - Create 1 Sorceress for Player 12 (Brown) at (Center of Spawn Dark <gen>) facing 45.00 degrees

Whats wrong? no creeps spawn or anything, and How does i make them move to a point tho attack all on their way?
Would apreciate if you'll help me out
 

Laiev

Hey Listen!!
Reaction score
188
Trigger:
  • Spawn Sentinel
    • Events
      • Time - Every 30.00 seconds of game time
    • Conditions
    • Actions
      • -------- Spawn Center --------
      • Set Point = (Center of Spawn Dark &lt;gen&gt;)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Arcane Vault 0050 &lt;gen&gt; is alive) Equal to True
        • Then - Actions
          • Unit - Create 3 Footman for Player 12 (Brown) at (Center of Spawn Dark &lt;gen&gt;) facing 45.00 degrees
        • Else - Actions
          • Unit - Create 3 Footman for Player 12 (Brown) at (Center of Spawn Dark &lt;gen&gt;) facing 45.00 degrees
      • Set Point = (Center of Spawn Dark &lt;gen&gt;)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Arcane Vault 0050 &lt;gen&gt; is alive) Equal to True
        • Then - Actions
          • Unit - Create 1 Sorceress for Player 12 (Brown) at (Center of Spawn Dark &lt;gen&gt;) facing 45.00 degrees
        • Else - Actions
          • Unit - Create 1 Sorceress for Player 12 (Brown) at (Center of Spawn Dark &lt;gen&gt;) facing 45.00 degrees


You set the same variable two times to the same point for what? and you don't use and you don't remove the variable and you make 4 leak in this trigger (Center of Spawn Dark <gen>) also.. I can't see nothing wrong...
 

Laiev

Hey Listen!!
Reaction score
188
First, fix what i say and try again, if don't work, someother trigger is bugging it
 

Aqkastik

New Member
Reaction score
0
Asd

a friend of mine helped me with these triggers especially the points you mention (; could you please explain how i could fix?
 

kaboo

New Member
Reaction score
45
this trigger just does not make any sense, you put there if,then,else, but both then and else actions are the same, then you create points to remove leaks, and you dont do it, and also you create two points on the same point

Trigger:
  • Spawn Sentinel
    • Events
      • Time - Every 30.00 seconds of game time
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Arcane Vault 0050 &lt;gen&gt; is alive) Equal to True
        • Then - Actions
          • Unit - Create 3 Footman for Player 12 (Brown) at (Center of Spawn Dark &lt;gen&gt;) facing 45.00 degrees
          • Unit - Create 1 Sorceress for Player 12 (Brown) at (Center of Spawn Dark &lt;gen&gt;) facing 45.00 degrees
        • Else - Actions

is this what you want to do? or smthing else?
 

Laiev

Hey Listen!!
Reaction score
188
Trigger:
  • Spawn Sentinel
    • Events
      • Time - Every 30.00 seconds of game time
    • Conditions
    • Actions
      • -------- Spawn Center --------
      • Set Point = (Center of Spawn Dark &lt;gen&gt;)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Arcane Vault 0050 &lt;gen&gt; is alive) Equal to True
        • Then - Actions
          • Unit - Create 3 Footman for Player 12 (Brown) at Point facing 45.00 degrees
          • Unit - Create 1 Sorceress for Player 12 (Brown) at Point facing 45.00 degrees
        • Else - Actions
          • Unit - Create 3 Footman for Player 12 (Brown) at Point facing 45.00 degrees
          • Unit - Create 1 Sorceress for Player 12 (Brown) at Point facing 45.00 degrees
      • -------- Remove leak --------
      • Custom Script: call RemoveLocation (udg_Point)


He want something like dota I think, a unit upgrade or something, so do this, correct if i'm wrong arkastik but you want a trigger which check if a build is live, if is true, so create a low creep mage and war and if is false, then create a better mage creep and war creep, right?
 

Aqkastik

New Member
Reaction score
0
If ((Barracks 0049 <gen> is alive) Equal to True) then do (Unit - Create 3 Footman for Player 12 (Brown) at (Center of Spawn War <gen>) facing 45.00 degrees) else do (Unit - Create 3 Footman for Player 12 (Brown) at (Center of Spawn War <gen>) facing 45.00 degrees)

If ((Arcane Sanctum 0193 <gen> is alive) Equal to True) then do (Unit - Create 2 Sorceress for Player 12 (Brown) at (Center of Spawn Lore <gen>) facing 45.00 degrees) else do (Unit - Create 2 Sorceress for Player 12 (Brown) at (Center of Spawn Lore <gen>) facing 45.00 degrees)

Could this work?
 

Aqkastik

New Member
Reaction score
0
Yay damn thing work :D

Now it works... Just because im an idiot how do i make the creeps move to a location tho attack everything on its way over there?
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top