Trigger-action 'Run Trigger'

MissKerrigan

Active Member
Alright there,

I got a question which I try to explain as clear as possible

I tell a trigger action to run a trigger, let's say 'ghost trigger' and check the conditions
But the conditions of the 'ghost trigger' are not true

I assume the trigger will not be running now even if I told the trigger action of the other trigger to run the 'ghost trigger'

My question is: will the 'ghost trigger' run as soon as the conditions are true or only at the moment I tell the trigger to run AND the conditions are true?

Does anyone understands what I mean? :) ? :)

MissKerrigan
 

MissKerrigan

Active Member
Trigger 1 (ghost trigger)

event elapsed time is 99.999 game seconds
condition number of living unit in 'ghost' >4
action create 1 ghost for player 8 (computer) at 'ghost'...
action wait 10 game seconds
action run trigger 'ghost trigger'


Trigger 2 (level marines finished)

event unit dies
condition unit type of unit is 'marine'
action if/then/else

- if number of living units in 'marine' = 0
- then actions

action display text message with the text 'Level complete!'
action wait 5 game seconds
action run trigger 'ghost trigger' check conditions

(I got another trigger which spawns ghosts also)

Question: Will my 'ghost trigger' run as soon as the computer has 4 ghosts?

Or ONLY if the computer has 4 ghosts as the moment I tell the trigger to run?
 

Siretu

Starcraft 2 Editor Moderator
Staff member
Neither. You're checking if the computer has MORE than 4 ghosts. So it'll run ONLY if the computer has 5 ghosts or more at the moment you tell the trigger to run.
 

MissKerrigan

Active Member
yes the computer does have 4 ghosts so the trigger will not run, but will the trigger run later if the computer get's a fifth ghost?
 

Dave312

Censored for your safe viewing
No it won't run. You will need to tell the trigger to run when the computer player gets another ghost (in your spawn ghost trigger).
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Varine Varine:
    ^_^
  • Varine Varine:
    Good luck to the hurricane path people. Is TH still in Houston?
  • Ghan Ghan:
    I think so
    +1
  • The Helper The Helper:
    Yeah we got nothing here did not even rain
  • Ghan Ghan:
    We could use some rain.
  • The Helper The Helper:
    I am not complaining though Hurricanes are not fun I have been through alot of them
  • Blackveiled Blackveiled:
    I evacuated for it just incase since I live in La Porte pretty much right on the water (in Houston area). Didn't see anything. It's a good thing for me anyways.
  • Ghan Ghan:
    It's too bad that Blizzard messed up so terribly with Reforged.
  • Ghan Ghan:
    Still has a 0.6 user metacritic score.
  • Ghan Ghan:
    (Out of 10)
  • Varine Varine:
    I haven't even tried it yet because everyone said it sucked. How do you get .6 out of ten?
  • The Helper The Helper:
    I am waiting for Dwarf Fortress to come out on Steam then I am on it.
  • Accname Accname:
    I play Dwarf Fortress from time to time.
  • Accname Accname:
    Its Okay.
  • Accname Accname:
    But the performance is sub-par. Does not seem to be well optimized.
  • Varine Varine:
    Is the Steam version coming with a graphical overlay or is it using the ASCII graphics still?
  • tom_mai78101 tom_mai78101:
    Steam version has the graphical overlay.
  • The Helper The Helper:
    Steam Version has graphics, a new interface and will be integrated in the steam mod stuff
  • Blackveiled Blackveiled:
    I didn't think WC3 Reforged was that bad. It pretty much did what it stated (to me at least), but then again I can care less about reforged campaigns and all that. I just care about gameplay.
  • Varine Varine:
    I think people were hoping for a resurgence in mod support. I have little interest in the actual game tbh
  • Varine Varine:
    Plus I know they added that Dota precedent clause where Blizzard can steal your shit which isn't cool.
  • Ghan Ghan:
    They sold Reforged to the community as primarily a huge graphical uplift with high res textures and redone cinematics.
  • Ghan Ghan:
    They even showed one of the redone cinematics at Blizzcon and that very cinematic wasn't even in the released game.
  • Ghan Ghan:
    So I think folks were angry about that.

    Members online

    No members online now.

    Affiliates

    Hive Workshop
    Top