• 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.
  • 💡 We're thrilled to announce that our upcoming texturing contest is in the works, and we're eager to hear your suggestions! Please take this opportunity to share your ideas in this theme discussion thread for the Texturing Contest #34!
  • 🏆 Hive's 7th HD Modeling Contest: Icecrown Creature is now open! The frozen wastes of Icecrown are home to some of Azeroth’s most terrifying and resilient creatures. For this contest, your challenge is to design and model a HD 3D monster that embodies the cold, undead, and sinister essence of Icecrown! 📅 Submissions close on April 13, 2025. Don't miss this opportunity to let your creativity shine! Enter now and show us your frozen masterpiece! 🔗 Click here to enter!

issued order (use item) condition,where is it ? 0_o

Status
Not open for further replies.
Level 8
Joined
Nov 9, 2008
Messages
502
I think any usable items have their own abilities which in turn have their own order strings so you cannot simply group those orders as items.

You will probably have to be more specific.
 
Level 14
Joined
Mar 4, 2009
Messages
1,156
the problem is that i cant find the spell order either

ability is (build tiny caste)

the "spell" is actually constructing too

and my item has that spell

if i use event
unit begins construction
kill constructing structure
(it will kill the casted structure)

so i need
issued order not equal to build OR order from casting spell that i cant find

i tried issued order not equal to "build" but its not working too

......
item has ability build tiny castle
unit must stop on all orders accept if the order is using that item


EDIT:

Just add a customized channel abt to the item and then use unit starts the effect of an ability event.

hope it helps
You cant make it good for building a structure,and you would need conditions for terrain too,but its too complicated and i don't like that way,you cant see the structure you are building
 
Last edited:
Level 8
Joined
Nov 9, 2008
Messages
502
Let's get a little clarification on what you're trying to achieve.

You are trying to simulate a worker having to actualy build a structure (like normal) except it must be also when he uses items that build?
 
Level 8
Joined
Nov 9, 2008
Messages
502
It's not the orders you need to check, it's the ability of the item that is being used. The item 'Ivory Tower' has the ability 'Build Tiny Scout Tower'. So your item will have something similar which is wht you need to check, not the order string.
 
Level 14
Joined
Mar 4, 2009
Messages
1,156
It's not the orders you need to check, it's the ability of the item that is being used. The item 'Ivory Tower' has the ability 'Build Tiny Scout Tower'. So your item will have something similar which is wht you need to check, not the order string.
i need issued orders because only that way my trigger will be enought fast to stop my unit

now i used this trigger to see string of issued order and i saw that there is no way (for now) to order unit to build tiny castle
well this is now solved coz i saw that my mistake was that i used only "move" instead "smart" too

in beginning i need to stop my unit to do everything accept picking skills and casting the VRC (building) from my item

BTW i used this trigger to see string and when i cast VRC (or build tiny castle) the is no string at all
(even because i cant get the string of issued order there it is know that it is issued point order and it would stop my unit to cast it)

  • get strings
    • Events
      • Unit - A unit Is issued an order targeting a point
      • Unit - A unit Is issued an order targeting an object
      • Unit - A unit Is issued an order with no target
    • Conditions
    • Actions
      • Game - Display to (All players) the text: (String((Issued order)))
anyway its solved,i will use conditions
string order not equal to this this and this......

EDIT: this is what i meant with conditions this this and this :D

  • OTU
    • Events
      • Unit - A unit Is issued an order targeting an object
      • Unit - A unit Is issued an order targeting a point
    • Conditions
      • Or - Any (Conditions) are true
        • Conditions
          • (Issued order) Equal to (Order(smart))
          • (Issued order) Equal to (Order(move))
          • (Issued order) Equal to (Order(patrol))
          • (Issued order) Equal to (Order(farsight))
          • (Issued order) Equal to (Order(attack))
          • (Issued order) Equal to (Order(chainlightning))
    • Actions
      • set ORDERED_UNIT = (ordered unit)
      • Countdown Timer - Start timer04 as a One-shot timer that will expire in 0.00 seconds
to stop unit immediately you need to start timer (stop him when it expires) because without it WarCraft would crash and wait 0.00 is to slow
(there should be a way without using timers and waits,but if i try to do it in same trigger without it War3 would crash)

Anyway its

[SOLVED]
 
Last edited:
Status
Not open for further replies.
Top