Spawn trigger not working dont know why?

gofd.pwn_u

New Member
Reaction score
0
i am really nooby so you are going to have to talk me through most of it :( so first things first... i tried to use this code to clear corpses from the map but of coarse it doesnt work.
Code:
Delete corpse
    Events
        Time - Every 10.00 seconds of game time
    Conditions
    Actions
        Unit - Remove (Decaying unit) from the game
then i tried to by pass that by going like this
Code:
Unit Respawn
    Events
        Time - Every 11.00 seconds of game time
    [B]Conditions
        ((Attacked unit) is alive) Equal to False[/B]
    Actions
        Unit - Create 3 (Random level 3 creep unit-type) for Neutral Hostile at (Center of Region 001 <gen>) facing (Random point in (Playable map area))
but that didnt work either so i dont know what to do...... I am trying to do this because i dont want creeps to spawn when there are still some in the area.
 

MorbazanRhot

New Member
Reaction score
7
The first trigger doesn't have a unit it's referring to with (Decaying Unit) - there has to be a decaying unit for it to reference and remove. I'm not sure exactly what you're trying to accomplish though, so maybe with some clarification I could help you make this trigger work.

In the 2nd trigger, the condition doesn't refer to the event, so the trigger will never run. Once again, clarification is needed on what you're trying to do there and I can probably help. Why do you have that condition there?
 

SpaceBar

New Member
Reaction score
16
Spawn

Events
Time - Every 11 seconds of game time
Conditions
Actions
Unit - Create 1 <your unit> for <your player> at (Centre of Spawn) facing default building facing degrees

Move

Events
Time - Every 1.00 seconds of game time
Conditions
Actions
Set TempGroup = Units in Spawn owned by <your player>
Unit Group - Pick every unit in TempGroup and do actions
Loop - Actions
Unit - Order (picked unit) to Move/Patrol to centre of (your other region)
Custom Script: call DestoryGroup (udg_TempGroup)

OFF-TOPIC: whats an indent?
 

blooman

New Member
Reaction score
16
So use this
Event
A unit Dies
Conditions
<none>
Actions
Recmove Dying Unit From game
it removes the corpse:D
 
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