• 0

    posted a message on Revive unit that's not pre-placed

    @fishy77: Go

    ok... so the revive is working fine, but now my timer and spawn probe is messing up. for the timer i told it to only start if one of player1-12 dies yet it starts when player 15 dies. and also i have two probe triggers one for team 1 and one for team 2, for some reason its using both... i'll post them

    Posted in: Triggers
  • 0

    posted a message on Revive unit that's not pre-placed

    @fishy77: Go

    ok i just moved it to the wrong place... it revives now but it has 1 health

    Posted in: Triggers
  • 0

    posted a message on Revive unit that's not pre-placed

    @fishy77: Go

    hmm i made the death time 3 and a half minutes and it wont respawn still. it could have to do with the triggers being weird

    Posted in: Triggers
  • 0

    posted a message on Revive unit that's not pre-placed

    ok... that should work. now somehow the conditions are being weird. i didnt touch them but somehow its ignoring my conditions. its trying to create the probe to get a new hero twice bc for some reason it runs both players triggers even though the conditions say not to.

    Posted in: Triggers
  • 0

    posted a message on Revive unit that's not pre-placed

    @TheAlmaity: Go

    oh, ok. so should i make the death time 1?

    Posted in: Triggers
  • 0

    posted a message on Revive unit that's not pre-placed

    @TheAlmaity: Go

     spawn units 4
        Events
            Unit - (Agent of player (Number of players in (Allies of player 1)) for (Triggering unit)) Enters a distance of 2.0 from Reaper [26.27, 12.19]
        Local Variables
        Conditions
        Actions
            Unit - Kill (Triggering unit)
            Unit - Create 1 Reaper for player (Triggering player) at Point 001 facing 270.0 degrees (No Options)
            Camera - Pan the camera for player (Triggering player) to (Center of Region 001) over 2.0 seconds with Existing Velocity% initial velocity, 10% deceleration, and Do Not use smart panning
            Variable - Set respawn unit[(Triggering player)] = (Created unit)
            Unit Selection - Add (Created unit) to control group 1 for player (Triggering player)
    


    This is one hero i did the same thing for the other 5. i checked and it has a 0 death time. i noticed the control group action doesnt work too.

    Posted in: Triggers
  • 0

    posted a message on Revive unit that's not pre-placed

    @TheAlmaity: Go

    well, it seems the problem is its just not adding the unit to the variable. it pans the camera and displays the message it just doesnt revive the unit.

    Posted in: Triggers
  • 0

    posted a message on Hero Revival and a boss bar issue

    i have the same issue with my heroes. i tried adding the hero to a variable when it's created and reviving the variable, but it doesnt seem to work

    Posted in: Triggers
  • 0

    posted a message on Revive unit that's not pre-placed

    ok i got the player issue working but my unit still wont spawn

    Posted in: Triggers
  • 0

    posted a message on Revive unit that's not pre-placed

    @TheAlmaity: Go

    oh... i shall try that

    Posted in: Triggers
  • 0

    posted a message on Revive unit that's not pre-placed
         Conditions
            (Owner of (Triggering unit)) == (Player 1 from (Allies of player 1))
            Or
                Conditions
                    (Owner of (Triggering unit)) == (Player 2 from (Allies of player 1))
                    Or
                        Conditions
                            (Owner of (Triggering unit)) == (Player 3 from (Allies of player 1))
                            Or
                                Conditions
                                    (Owner of (Triggering unit)) == (Player 4 from (Allies of player 1))
                                    Or
                                        Conditions
                                            (Owner of (Triggering unit)) == (Player 5 from (Allies of player 1))
                                            Or
                                                Conditions
                                                    (Owner of (Triggering unit)) == (Player 6 from (Allies of player 1))
            And
                Conditions
                    Not
                        Conditions
                            (Triggering unit) == (Unit (Triggering player) from probe group)
                            And
                                Conditions
                                    (Owner of (Triggering unit)) == (Player 15 from (All players))
    


    I tried this and it didnt work

    Posted in: Triggers
  • 0

    posted a message on Revive unit that's not pre-placed

    @TheAlmaity: Go

    I cant just create a unit there though. because i dont know what their unit was... they choose from 6 units at the beginning so i have no way of knowing which they picked.

    Posted in: Triggers
  • 0

    posted a message on Revive unit that's not pre-placed
     unit is created
        Events
            Unit - Any Unit creates a unit with ability Any or behavior No Game Link
        Local Variables
        Conditions
            Not
                Conditions
                    (Owner of (Triggering unit)) == (Player 15 from (All players))
        Actions
            Variable - Set respawn unit[(Triggering player)] = (Last created unit)
            Unit Selection - Add (Triggering unit) to control group 1 for player (Triggering player)
    


    I also had this... and no i didnt fix it yet. im trying to do something different with the players. i havent tested it yet though

    Posted in: Triggers
  • 0

    posted a message on Revive unit that's not pre-placed

    [reply=785444]

    oh, well what i was trying to achieve is when a player's hero dies, i want to make a dialog appear to either revive the hero or pick a new hero (which they use a probe for) and i put the team 1 thing there because if the hero is on a player of team 1, then the hero will spawn in a different place then the one on team 2.

    Posted in: Triggers
  • 0

    posted a message on Revive unit that's not pre-placed
     revive 2 Team 1
        Events
            Dialog - Any Dialog Item is used by Player (Number of players in (Players on team 1)) with event type Clicked
        Local Variables
        Conditions
        Actions
            General - If (Conditions) then do (Actions) else do (Actions)
                If
                    (Used dialog item) == revive unit dialog item[0]
                Then
                    Variable - Set respawn unit[(Triggering player)] = (Last created unit)
                    Unit - Revive respawn unit[(Triggering player)]
                    Unit - Move (Last created unit) instantly to Point 001 (No Blend)
                    Dialog - Hide Revive unit dialog for (Active Players)
                    Camera - Pan the camera for player (Triggering player) to (Center of Region 001) over 2.0 seconds with Existing Velocity% initial velocity, 10% deceleration, and Do Not use smart panning
                Else
                    General - If (Conditions) then do (Actions) else do (Actions)
                        If
                            (Used dialog item) == revive unit dialog item[1]
                        Then
                            Unit - Create 1 Probe for player (Triggering player) at Start Location 001 facing 270.0 degrees (No Options)
                            Dialog - Hide Revive unit dialog for (Active Players)
                            Camera - Pan the camera for player (Triggering player) to (Center of Region 004) over 2.0 seconds with Existing Velocity% initial velocity, 10% deceleration, and Do Not use smart panning
                        Else 
    


    the revive unit is my variable i tried to add the unit to when it dies.

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