• 0

    posted a message on Changing unit skin by triggers

    @MaskedImposter: Go

    No more like how if you get to a certain level with a race on bnet you can change your skins. That type of thing.

    Posted in: Triggers
  • 0

    posted a message on Changing unit skin by triggers

    Does anyone know how to change unit skins by triggers? I have not looked into it much but if anyone could let me know, that would be great.

    Posted in: Triggers
  • 0

    posted a message on Battlenet Lobby prevent editing team sizes

    @Necromoni: Go

    What if I want to allow people to change what team their on?

    Posted in: Triggers
  • 0

    posted a message on Battlenet Lobby prevent editing team sizes

    Is there anyway to prevent editing the team size in a battle net lobby? Even though I have max teams set to 3 and max team size set to 2 it still alows it.

    Posted in: Triggers
  • 0

    posted a message on Loop problem

    The reason why I did it the way I did is because team 1 isnt 1 and 2 it is 1 and 4.

    Posted in: Triggers
  • 0

    posted a message on Loop problem

    Wont let me edit my above post :/.
    So far my system seems to be working right. I just wish there was an easier way to do it.

    Posted in: Triggers
  • 0

    posted a message on Loop problem

    @hobbidude:

    Quote from hobbidude:
    @penguinwars: Go

    Again maybe you should clarify what exactly your trying to do. If you want to match the lobby players to the team that they originally entered on you can just lock the lobby. Your aware that players are numbered according to when they enter not where they are in lobby. Also what is with player 4?  

    ----

    Thats exactly what I'm trying to fix. Make player in team 1 act as if player 1, which is where the 2 arrays come in. They are both arrays of 6 ints. So far my system seems to be working right. I just wish there was an easier way to do it.

    Posted in: Triggers
  • 0

    posted a message on Loop problem

    @hobbidude:

    Well Player is used for converting player to new player( team deceides it )
    PlayerT is used for converting team player to new player.

    Posted in: Triggers
  • 0

    posted a message on Loop problem

    Just an if to check if the returned value of player on team is >=0?

    Posted in: Triggers
  • 0

    posted a message on Loop problem

    @DeltaV:

    I am doing it from test document. How would I fix the problem though?

    Posted in: Triggers
  • 0

    posted a message on Loop problem

    Ok so I have variables Player and Player t both are an array of 6 ints and NTeams is set to 3.
    In the debugger I get that im accessing negitive array indexes.
    Why wont this code work below?
            Variable - Set Teams[1][1] = 1
            Variable - Set Teams[1][2] = 4
            ------- --
            Variable - Set Teams[2][1] = 2
            Variable - Set Teams[2][2] = 3
            ------- --
            Variable - Set Teams[3][1] = 5
            Variable - Set Teams[3][2] = 6
            ------- --
            General - For each integer Team from 1 to NTeams with increment 1, do (Actions)
                Actions
                    General - For each integer Play from 1 to 2 with increment 1, do (Actions)
                        Actions
                            Variable - Set Player[(Player Play from (Players on team Team))] = Teams[Team][Play]
                            Variable - Set PlayerT[Teams[Team][Play]] = (Player Play from (Players on team Team))

    Posted in: Triggers
  • 0

    posted a message on Set player number at init

    Think I may have found what I want. Variable - Set Player[(Player 1 from (Players on team 1))] = Teams[1][1];

    Posted in: Triggers
  • 0

    posted a message on Set player number at init

    What is a better way to get my result? What I want is for the players in teams override the battlenet player number and have everything work correctly so you can choose your spawn location based on team number.

    Posted in: Triggers
  • 0

    posted a message on Set player number at init

    @hobbidude: Go

    I understand for loops very well and use them a lot, I simply set this up as a test, once it works I convert to a loop. My purpose for these players is for it to chose the correct player base.

    Posted in: Triggers
  • 0

    posted a message on Set player number at init

    Does anyone know if what I had above would work right or a better solution?

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