• 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.

Select Hero ability

Status
Not open for further replies.
Level 13
Joined
May 10, 2009
Messages
868
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"
 
Level 10
Joined
Mar 17, 2012
Messages
582
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:
Level 45
Joined
Feb 27, 2007
Messages
5,578
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)
 
Level 10
Joined
Mar 17, 2012
Messages
582
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.
Top