• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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

Status
Not open for further replies.
Level 7
Joined
May 6, 2008
Messages
284
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?
 
Level 16
Joined
Aug 20, 2009
Messages
1,552
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.
 
Level 7
Joined
Jun 8, 2010
Messages
283
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.
 
Status
Not open for further replies.
Top