Why dont they unpause?

ZZY

New Member
Reaction score
1
Trigger:
  • Unit Group - Pick every unit in (Units in Red Supply Camp A <gen>) and do (Unit - Unpause (Picked unit))
 

AbsoIuteZero

New Member
Reaction score
0
You need to post the entire trigger because the issue may not lie with that one line. Say for instance the trigger is supposed to fire when a unit casts a certain spell but you have it to fire when a unit dies. Keep this in mind for future posts.
 

ZZY

New Member
Reaction score
1
Trigger:
  • Red B2
    • Events
      • Dialog - A dialog button is clicked for Dialog6b
    • Conditions
      • (Clicked dialog button) Equal to Dialogbb11
    • Actions
      • Floating Text - Create floating text that reads ||||||||.............. above Supply Camp 0179 <gen> with Z offset 3.00, using font size 10.00, color (49.00%, 100.00%, 0.00%), and 0.00% transparency
      • Set redscAFT = (Last created floating text)
      • Wait 2.00 seconds
      • Floating Text - Change text of redscAFT to llllllllllllllll...... using font size 10.00
      • Wait 2.00 seconds
      • Floating Text - Change text of redscAFT to lllllllllllllllllll... using font size 10.00
      • Wait 2.00 seconds
      • Sound - Play Rescue <gen>
      • Special Effect - Create a special effect attached to the large of Supply Camp 0179 <gen> using Abilities\Spells\Other\Charm\CharmTarget.mdl
      • Unit Group - Pick every unit in (Units in Red Supply Camp A <gen>) and do (Unit - Unpause (Picked unit))
      • Game - Display to (All players) the text: Red has captured th...
      • Player - Set Player 10 (Light Blue) Food used to 2
      • Player - Set Player 11 (Dark Green) Food used to 2
      • Player - Set Player 12 (Brown) Food used to 2
      • Floating Text - Destroy redscAFT
      • Trigger - Turn off Yellow A <gen>
      • Trigger - Turn off Purple B <gen>
      • Trigger - Turn off Red A <gen>
      • Trigger - Turn off Orange A <gen>
 

ZZY

New Member
Reaction score
1
so, can it just be a region or do i need to add the entering unit to group then unpause group?
 

Laiev

Hey Listen!!
Reaction score
188
so, can it just be a region or do i need to add the entering unit to group then unpause group?

This trigger leak, also you don't need, but are some unit paused in this region?
are units in this region?
Are this my questions..

EDIT: when you click and etc, the floating text happen?
We need know if the trigger at least run
 

ZZY

New Member
Reaction score
1
yea every thing runs when the guy enters the region, but he dosnt unpause, he's still in the region
 

Laiev

Hey Listen!!
Reaction score
188
try this:

Trigger:
  • Set UnitGroupTemp = (Units in <your region>)
    • Unit Group - Pick every unit in UnitGroupTempo and do actions
      • Unit - Unpause (picked unit)
    • Custom Script: call DestroyGroup (udg_UnitGroupTemp)


Don't know if will solve the problem, but will solve the leak problem, and if don't work, try to make another trigger which check everytime if a unit is in the region, if is, add to the group
 
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