how to make my hero UNABLE to buy FROM enemy shops

zylack

New Member
Reaction score
15
events-player selets a unit
conditions-selected unit equal to team 1 shop (bolean)
triggering player is in (team 2(playergroup)
actions-clear selection for triggering player
tell the player he cant use that shop here :D
hope this helps
 
M

Mythic Fr0st

Guest
hmm

Perhaps have 2 dummy players, (that dont do anything) who say Brown is ally of, Team 1, (and since is ally cant be used by team 2), and Dark Green is ally of team 2, and cant be used by team 1, that should work ^_^
Otherwise, you might be do this set, team 1 (or the units you want to be able to buy from specific shop) and set their unit classification to ancient or something that the other team isnt, and when they buy from there shop, you might be able to get a trigger to run, and check if the "hero manipulating item" is the right classification (e.g undead, hero, ground,air etc..) and if he isnt, instantly remove the item and add the point value back to owner of hero manipulating item
 

dragonhord

Knowledge is true opinion. - Plato
Reaction score
82
Or just set them to a variable... One is Alliance_Heroes as an array. The other is Scourge_Heroes as an array... Then make the array unavailable for training/buying for all players in your Alliance/Scourge sections :D .
 
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