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

[Question] Item or Ability Order

Status
Not open for further replies.
Level 13
Joined
Jun 9, 2009
Messages
1,135
Like the title says it self a need a custom script that will allow me do order unit to activate (use or left click[same thing...]) item or ability. example : i use item tiny castle, and i want it to activate only by trigger, but to make me choose where to cast it. If anybody knows, or have anyidea please answer me +rep of cource. Or if anybody have better solution for that building tiny castle.
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
This is the example of an item-based spell that can be used through trigger (not Custom script-based): Item Illusion
That test map shows my spell that uses Wand of Illusion spell by trigger, adding Inventory and what not to my dummy

If you want to trigger by using Custom script, read this post

2 ways of triggering your item-based spell, good luck !
 
Level 13
Joined
Jun 9, 2009
Messages
1,135
Well, like i said, i am working on Build Menu, but just for one player (i know to make MPI, but i am doing it for my project, so i don't care MPI or not i will just copy triggers) and you press esc, a menu opens (Full screen method you know...) and with left click (my method with spell) you choose what building you want to build, eh... now i forced unit to open build menu (normal wc3s) and then forcered player to press button (example C) but when you get wanted building, and click to build, dummy can't reach that point cause it's so far... if is there any solution say me, or if you know about this script how to put it in... to work cause i want to choose where to put building and if you even make script to work, i don't want to be like
call IssueTargetOrderById(<caster>, CODE, <point>) you get it? i want it to choose where to build a building like with item. I can send you a map if you want to see, it's still in progress ;)
 
Status
Not open for further replies.
Top