• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

[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