• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] Custom Scripts

Status
Not open for further replies.
Level 7
Joined
Jul 9, 2012
Messages
159
Ok, great. Thanks for the replies!

This may be a dumb question, but is this test-trigger correctly made then?
  • Test
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Set Regions[1] = Region 000 <gen>
      • Set Regions[2] = Region 001 <gen>
      • Set Regions[3] = Region 002 <gen>
      • For each (Integer A) from 1 to 3, do (Actions)
        • Loop - Actions
          • Set TestInteger = (TestInteger + 1)
          • Set TestPoint[TestInteger] = (Center of Regions[TestInteger])
          • Unit - Create 1 Footman for Player 1 (Red) at TestPoint[TestInteger] facing Default building facing degrees
          • Custom script: call RemoveLocation(udg_TestPoint[udg_TestInteger])
 
Status
Not open for further replies.
Top