Remove unit frm mecenary camp for a player

Xonora

New Member
Reaction score
3
Like the title says? What function to remove just a unit frm a mecenary camp just for a player.
 

Lumograph090

New Member
Reaction score
22
Trigger:
  • Sold Heroes
    • Events
      • Unit - A unit Sells a unit
    • Conditions
      • ((Sold unit) is A Hero) Equal to (==) True
    • Actions
      • Player Group - Pick every player in (All players) and do (Player - Make (Unit-type of (Sold unit)) Unavailable for training/construction by (Picked player))
 

DeadMan

New Member
Reaction score
0
Trigger:
  • Remove From Markets
    • Events
      • Unit - A unit Sells a unit
    • Conditions
      • (Unit-type of (Sold unit)) Equal to Footman
    • Actions
      • Neutral Building - Remove Footman from (Selling unit)


Look under neutral buildings and there are actions to add/remove from a specific market place, or all market places. If you use neutral building actions you can also set the amount of units to be added immediately and the max it will restock up to.

(ps I am using WEU and I don't know if the neutral building actions are in the standard WE;))
 

DeadMan

New Member
Reaction score
0
Trigger:
  • Remove From Markets
    • Events
      • Unit - A unit Sells a unit
    • Conditions
      • (Unit-type of (Sold unit)) Equal to Footman
    • Actions
      • (Player - Make (Unit-type of (Sold unit)) Unavailable for training/construction by (Owner of (Sold unit))


Here try this. It should work for non heros and only remove the unit for the player that bought the unit. Of course you can change the condition to be whatever unit you want to have removed.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top