Unit Alliance Not Working

Dameon

"All the power in the world resides in the eyes"
Reaction score
127
Hey guys I am trying to make it to where NP will treat a player as nutral after he buys a hero.

More detail.
1: I am useing shop shareing.
2: On MI I set NP to set all players as allys.
3: I use the following trigger to alter the alliance after a unit is sold.

Trigger:
  • Untitled Trigger 002
    • Events
      • Unit - A unit Sells a unit
    • Conditions
      • ((Sold unit) is A Hero) Equal to True
    • Actions
      • Set TP = (Center of HC_ASR[(Random integer number between 1 and 3)])
      • Unit - Move (Sold unit) instantly to TP
      • Custom script: call RemoveLocation (udg_TP)
      • Player - Make Neutral Passive treat (Triggering player) as an Neutral


Problim is I can still buy from the shop after I buy the hero. Incase your are going to post that you can always buy from NP, I have already disabled the MI alliance action and was not able to buy from the shop with out it.
 

Komaqtion

You can change this now in User CP.
Reaction score
469
Trigger:
  • Player - Make Neutral Passive treat (Triggering player) as an Neutral


There is no Triggering Player XD
Use Owner of (Sold Unit) instead ;)
 

Dameon

"All the power in the world resides in the eyes"
Reaction score
127
Wow it works perfected now, thanks man, I have been away from map makeing for to long lol.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top