• 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] Problem with placement triggers.

Status
Not open for further replies.
Level 7
Joined
Feb 25, 2007
Messages
286
I'm trying to make a trigger simular to this...

  • Put in
    • Events
      • Game - The in-game time of day becomes Equal to 12.00
    • Conditions
    • Actions
      • Unit - Create 10 Fire Infernal for Player 11 (Dark Green) at (Center of Region 017 <gen>) facing Default building facing degrees
But theres a little problem with that trigger....I need it so that they are all spread out along that region and not just in the middle...How do I make this happen?
 
Level 6
Joined
Mar 2, 2006
Messages
306
>Isn't there an option 'Random point in region'???
yes there is.
so the non leaking sequence would be:
  • Actions
    • For integer a = 1 to 10 do actions
      • Actions
        • Set MyLocationVar = random point in region 017
        • Unit - create 1 infernal at MyLocationVar for player 11 facing whatever
        • Custom Script - call RemoveLocation( udg_MyLocationVar )
 
Last edited:
Level 6
Joined
Mar 2, 2006
Messages
306
look for the big yellow/blue X button on the toolbar of the trigger editor window.
in a small dialog make a new variable of type "point" and name it MyLocationVar... don't check the array-checkbox.
 
Last edited:
Level 7
Joined
Feb 25, 2007
Messages
286
Ok...then let me rephrase what I said and YES I DO KNOW HOW TO TRIGGER!

Just a little bit of what I can do with triggers I don't know If, And, Else triggers varibles (like which one to put in and how to put it in), and jass and please if your just going to say "YOU DONT KNOW HOW TO TRIGGER" blah blah blah then don't post....Your making urself look like a idiot by trying to make someone else look down at there own areas of WE which makes them angry which makes them hate you which makes them never try to make another map ever again... Or are you seriously trying to be that cruel to another person so that you will never hear from them again...? Whatever it is don't...
 
Level 6
Joined
Mar 2, 2006
Messages
306
boys, stay on topic...
2Da)sniper: dude, you don't have to prove you know anything and you shouldn't expect people to know exactly what you know. besides, all answers are here for everyone to benefit from, not just for you; and other could be less experienced. also, you can't get mad just because someone posted an unhelpul comment.
 
Status
Not open for further replies.
Top