• 💀 Happy Halloween! 💀 It's time to vote for the best terrain! Check out the entries to Hive's HD Terrain Contest #2 - Vampire Folklore.❗️Poll closes on November 14, 2023. 🔗Click here to cast your vote!
  • 🏆 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!
  • 🏆 HD Level Design Contest #1 is OPEN! Contestants must create a maze with at least one entry point, and at least one exit point. The map should be made in HD mode, and should not be openable in SD. Only custom models from Hive's HD model and texture sections are allowed. The only exceptions are DNC models and omnilights. This is mainly a visual and design oriented contest, not technical. The UI and video walkthrough rules are there to give everyone an equal shot at victory by standardizing how viewers see the terrain. 🔗Click here to enter!

Enemy with full shared control (how to trigger that??)

Status
Not open for further replies.
Level 4
Joined
Apr 26, 2011
Messages
65
Hi! I am like foreveralone.jpg - i have no friends (except bro) and i can't host (cos of problemz with public IP)
So i make maps with campaing-style where i can fully control all players (they're not AI).
scaled.php

But wait, undead must be allies... Lich can't be versus undead forces!
So i made this trigger:
scaled.php

It changes relationship only between purp + green... so they're now allies and i can control them.
Hold on, main troubles are coming :ogre_hurrhurr:
I made a map where are 2 teams... if slot status of Player 6 = empty, then allow player 1 to fully-share controlls with Player 6, but PLAYER 6 MUST BE STILL UNALLY WITH PLAYER 1
Can you help me how to do this? +rep
 
Level 17
Joined
Apr 3, 2010
Messages
1,101
Have it so that Player 6 is already treating player 1 as an Enemy with full shared control as you have above.

Then do a trigger

Event: Map ini
Condition: Player 6 = to playing
Actioin: Set player 6 as enemy of player 1
Thus removing shared control etc
 

Bannar

Code Reviewer
Level 26
Joined
Mar 19, 2008
Messages
3,140
Just use as action
  • Player - Make Player 6 (orange) treat Player 1 (Red) as an Ally with shared vision and fully shared unit control
If you dont use the same action (but with swaped players so now player oe treats ...) only the first mentioned player will give ally. The second one still treats him as a enemy without and igves him no vision and control.
 
Status
Not open for further replies.
Top