• 0

    posted a message on Variable Applied to Periodic Event?

    @Zolstice: Go

    Why would it be best if I ask the players to define these variables before the round starts? I want the players to be able to control the rate of spawn whenever they want. Also, does a trigger run even without an event? And how will I go about defining the Unit Type of all the rounds within one single trigger (take note that there are more than one type of units per round and I want the units to come randomized, say 10% to spawn a Baneling, 50% to spawn a Zergling, and 40% to spawn a Marine)? Will I use the integer randomization to generate a number between 1 - 100 and add IF statements under every round, inside this one trigger? I have yet to figure out a way to do this...

    Map Init Event
    Condition
    Action
           Repeat Forever
                 If Round # == 1
                        Set Y == Baneling
                 Else
                 If Round # = 2
                         If Randomize >= 50
                                Set Y == Baneling
                         Else
                                Set Y == Marine
                 Else
    

    ... and so on until round 50(?)

    Sorry for asking so many questions, but I honestly cannot figure this out for life.

    Posted in: Triggers
  • 0

    posted a message on Variable Applied to Periodic Event?

    @Zolstice: Go

    My map is a tower defense and the Zergling basically initiates the game when all players are ready. Once all players move their Zergling to set region, they die and the game will continuously create units without end. The units created change according to the round or level. The next round occurs when 60 seconds pass. The timer repeats itself once it ends, so basically there are no breaks in between. What I am trying to do is for players to be able to adjust the speed of the creation of units to their liking, but apparently it is impossible to assign a non-constant variable to a periodic event.

    Posted in: Triggers
  • 0

    posted a message on Variable Applied to Periodic Event?

    But the problem with that is if I decide to use Map Init, it will instantly begin spawning as I enter the game. The spawning should begin when a Zergling from each player is brought to a region, which I have really will have no control over when that happens.

    Posted in: Triggers
  • 0

    posted a message on Variable Applied to Periodic Event?

    @Kafoso - I want to have my triggers spawn random units at an unfixed interval, but not throughout the game.

    @SBeier - But I don't want the same unit to keep on spawning, what I want is to have another type of unit spawning every 60 seconds.

    Posted in: Triggers
  • 0

    posted a message on Variable Applied to Periodic Event?

    @Eiviyn: Go

    How will I apply that Action to my trigger? Do I require an event? Also what about the conditions?

    Posted in: Triggers
  • 0

    posted a message on Variable Applied to Periodic Event?

    How can I do this? It appears I cannot alter the time during the game in anyway. Are there any other methods that can "imitate" this event with a more flexible timing? Let's put it this way: I'm trying to create a unit for every X seconds, but the periodic event by no means supports flexibility.

    Posted in: Triggers
  • 0

    posted a message on Changing an Array Variable when a button is pressed

    I've been trying to manipulate an array variable through the use of pressing a button but to no avail... This is my current trigger:

    Events

    Dialog - Any Dialog Item is used by Player (Triggering player) with event type Clicked

    Local Variables

    Conditions

    1x Speed == (Used dialog item)

    Actions

    Variable - Set Set Speed[(Triggering player)] = 1.0

    The variable that I am talking about is "Set Speed". It is a real variable and has an array of [4] for four players. My question is, what am I doing wrong? It doesn't appear to have changed anything when I tested it in-game.

    Posted in: Triggers
  • 0

    posted a message on Adding Units to a Variable Unit Group

    Is there a method for adding over 200 pre-created units to a unit group that does not require me to do 200 "Add Unit" triggers?

    Posted in: Triggers
  • 0

    posted a message on Actor - Model Issue

    Thanks, I finally found where it is located! :)

    However, another problem arose. I changed the models for the explosion effect to a bluish-nova. However, when I test it in game, the bluish-nova comes WITH a normal fiery explosion. How do I remove the fiery explosion?

    Posted in: Data
  • 0

    posted a message on Actor - Model Issue

    I'm getting this problem:

    Can't change it to my own model?

    I clicked the D8 Cluster Bomb Attack Launch model and clicked "Explain Link". It says something about "<Launch Assets - Model>". What does that mean?

    Posted in: Data
  • 0

    posted a message on Ability - Fire Bomb

    Well yes, I understand how to make the explosion and area damage and stuff, I just don't understand how to plant the bomb on the ground and have it explode 5 seconds later. Do I have to apply some kind of behavior to the missile or something?

    EDIT: Never mind! I was on the wrong ability. How careless of me :|

    Posted in: Data
  • 0

    posted a message on Ability - Fire Bomb

    Yes, I cannot see the ability on the command card. Now I do not know how this ability works because it is not on the command card...!

    Posted in: Data
  • 0

    posted a message on Ability - Fire Bomb

    Thanks!

    But may I ask in what way is this ability similar to what I am looking for? I mean it is not planted on where Reaper is standing, and it also explodes on impact, which is not what I want.

    Hmm.. Actually, I can't find the ability button that allows me to use this ability in-game! In the command card it is located at the bottom left, but I don't know why it is hidden when I go in-game.

    Posted in: Data
  • 0

    posted a message on Ability - Fire Bomb

    Create a new map -> Custom, and I checked all four standard dependencies -> Created the map, went to Data Editor -> Searched for Reaper, but only found 3 abilities

    I don't know what's the problem here :|

    I think I found it, is it "Reaper - G-4 Charge"?

    Posted in: Data
  • 0

    posted a message on Ability - Fire Bomb

    Well, there are only three abilities and they are Stop, Attack, and Move. I don't see C4 anywhere :(

    Posted in: Data
  • To post a comment, please or register a new account.