• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Select Hero ability

Status
Not open for further replies.
Try this custom script. I'm not sure if there's any GUI equivalent.
call IssueNeutralTargetOrderById(Player(OwnerOfShopUnitNumber), ShopUnit, 852566, Target)

In case, you want to try the order string, it is "neutralinteract"

I'm afraid I'm zero at jass, so I need some GUI equivalent :(
But if this works with the custom script option, it's fine, but I need to figure out which of these may be variables xD
 
Last edited:
For the love of god this isn't some arcane sorcery you have to implement: CUSTOM SCRIPTS ARE JASS. Every thing that looks like a variable is a variable.
  • Set ShopUnit = SomeUnitHoweverYouGetIt
  • Set TargetUnit = SomeOtherUnitHoweverYouGetIt
  • Custom script: call IssueNeutralTargetOrderById(GetOwningPlayer(udg_ShopUnit), udg_ShopUnit, 852566, udg_TargetUnit)
 
For the love of god this isn't some arcane sorcery you have to implement: CUSTOM SCRIPTS ARE JASS. Every thing that looks like a variable is a variable.
  • Set ShopUnit = SomeUnitHoweverYouGetIt
  • Set TargetUnit = SomeOtherUnitHoweverYouGetIt
  • Custom script: call IssueNeutralTargetOrderById(GetOwningPlayer(udg_ShopUnit), udg_ShopUnit, 852566, udg_TargetUnit)

Thanks a lot! :)
 
Status
Not open for further replies.
Back
Top