1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. The poll for Hive's 12th Concept Art Contest is up! Go cast your vote for your favourite genie!
    Dismiss Notice
  4. Travel to distant realms and encounter scenes unknown to the common folk. The Greatest of Adventures is upon us with the 8th Cinematic Contest. Join in on a fun ride.
    Dismiss Notice
  5. The 18th Icon Contest is ON! Choose any ingame unit and give him/her Hero abilities. Good luck to all.
    Dismiss Notice
  6. Contestants are to create a scene set in the Stone Age. Come and see what you can come up with. We wish you the best of luck!
    Dismiss Notice
  7. Colour outside the lines! Techtree Contest #13 is a go. The contest is optionally paired.
    Dismiss Notice
  8. Greetings cerebrates, our Swarm needs new spawners that will have numerous children. Join the HIVE's 31st Modeling Contest - Spawners and Spawned! The contest is optionally paired.
    Dismiss Notice
  9. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Trigger Tutorials

Discussion in 'StarCraft II Modding' started by Argus, Apr 25, 2010.

  1. Argus

    Argus

    Joined:
    Jul 7, 2007
    Messages:
    215
    Resources:
    4
    Models:
    2
    Maps:
    1
    Tutorials:
    1
    Resources:
    4
    I was horrible with triggers in wc3, but with this new GUI I can't do anything. Anybody know a tutorial?
     
  2. Darkt3mpl3r

    Darkt3mpl3r

    Joined:
    Jan 6, 2006
    Messages:
    201
    Resources:
    1
    Spells:
    1
    Resources:
    1
    yep. Check the warcraft 3 tutorials and adapt them for the galaxy editor, most of the functions are equal to warcraft 3 functions
     
  3. Argus

    Argus

    Joined:
    Jul 7, 2007
    Messages:
    215
    Resources:
    4
    Models:
    2
    Maps:
    1
    Tutorials:
    1
    Resources:
    4
    Good point, but I can't even use GUI. I'm trying to set up a trigger that gives 100 minerals to player 1 at map initialization and I have no idea what to do.
     
  4. TGhostdk

    TGhostdk

    Joined:
    Jun 14, 2005
    Messages:
    14
    Resources:
    1
    Maps:
    1
    Resources:
    1
    Create a trigger in the trigger editor (CTRL+T), add the event (CTRL+E) Map Initialization, the event is what has to happen for the trigger to run. Now you can add an action (CTRL+R), for adding minerals you want to use 'Modify Player Property', then choose what property to change, in this case minerals, and select to either 'add' or 'set' them to a value of 100.
     
  5. Argus

    Argus

    Joined:
    Jul 7, 2007
    Messages:
    215
    Resources:
    4
    Models:
    2
    Maps:
    1
    Tutorials:
    1
    Resources:
    4
    Thanks! I really should look closer. +rep