1. Find your way through the deepest dungeon in the 18th Mini Mapping Contest Poll.
    Dismiss Notice
  2. A brave new world lies beyond the seven seas. Join the 34th Modeling Contest today!
    Dismiss Notice
  3. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
Hive 3 Remoosed BETA - NOW LIVE. Go check it out at BETA Hive Workshop! Post your feedback in this new forum BETA Feedback.
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

[Trigger] Need This Trigger ( too long to descripe here )

Discussion in 'Triggers & Scripts' started by meteOrain-, Aug 3, 2010.

  1. meteOrain-

    meteOrain-

    Joined:
    May 6, 2008
    Messages:
    284
    Resources:
    0
    Resources:
    0
    Hello,

    I would need trigger that makes players loose control of friendly player.

    Like example. Player 1 haves X amount of heroes to choose from, and I can choose one of them. When I have chosen my hero and taken him to the region where it teleports elsewhere. At the same time the hero turns player 3 (that's me now) and at the same time I loose control of player 1.

    Was that clear enough?
     
  2. Gekigengar

    Gekigengar

    Joined:
    Aug 20, 2009
    Messages:
    1,490
    Resources:
    2
    Maps:
    1
    Spells:
    1
    Resources:
    2
    no it isn't clear at all

    from my understanding,

    you are Player 3
    There is Player 1 which chooses a hero

    so, after you used Player 1 to choose a hero, and move the hero to a certain location

    It gets teleported, then, it will turn to your unit?

    After teleported hero became your unit, you lose share control of Player 1...

    am i right?

    is this for a multiplayer map :\ ?

    if there is a lot of player , it will be hard, if all the player uses player 1 to choose, and change their hero's ownership... of the player that chooses it.

    well, it is doable

    but i need the above clarifications first, i got a problem uploading maps, so i am not sure i will do it.
     
  3. asdfADRiAN

    asdfADRiAN

    Joined:
    Jun 8, 2010
    Messages:
    270
    Resources:
    2
    Icons:
    2
    Resources:
    2
    You can do something like..

    • Entering Region
      • Events
        • Unit - A unit enters YourRegion
      • Conditions
        • (Unit-type of (Triggering unit)) Equal to HeroPrimary
      • Actions
        • Unit - Change ownership of HeroSecondary to Neutral Passive and Retain color

    • Leaving Region
      • Events
        • Unit - A unit leaves YourRegion
      • Conditions
        • (Unit-type of (Triggering unit)) Equal to HeroPrimary
      • Actions
        • Unit - Change ownership of HeroSecondary to Player 1 (Red) and Retain color


    This is just a general understanding from what I am getting at. Please be more specific so i can make the trigger more specific to your needs.