• 🏆 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!

[General] Spawning Neutral

Status
Not open for further replies.
Level 7
Joined
May 30, 2018
Messages
290
I guess it's not that hard to do, but still I have no idea how to do it. :p

How can I make it, that when a player buys a unit in a building and the units spawns, that the unit is allied but not controllable for the buying player :?

Thank you in advance.
 
Level 7
Joined
Dec 17, 2017
Messages
134
  • Untitled Trigger 003
    • Events
      • Unit - A unit Sells a unit
    • Conditions
      • (Selling Unit) Equal to (Your building)
    • Actions
      • Unit - Change ownership of (Sold unit) to Player 23 (Emerald) (Or any player) and Change color
Hope this helped!
I added the conditions that The_Silent forgot. Don't forget to replace (Your building) with the building.
Is this working? @Mechcash
 
Status
Not open for further replies.
Top