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

Limitation of item

Status
Not open for further replies.
Level 2
Joined
Jun 10, 2011
Messages
5
questions...
hey friends here,
i want to build AI for heroes by attaching each of them with an item (spell book) contained some skills,
but
i want a hero takes one spell book only... because what possible is that sometimes the regular WC3 AI can take many. so i want to create limitation trigger for the item (spell book) in which the item is undropabble.

also

can anyone of u be able to setup a trigger for following conditions:
the item (spell book) is given to the computer heroes instantly after they finishing trained from altar.

thank you for visiting the thread.

please help me setup the trigger :)))

give comments then.
 
Last edited:
Level 37
Joined
Mar 6, 2006
Messages
9,243
You can make items undroppapble with Item - make undroppable.

  • Untitled Trigger 094
    • Events
      • Unit - A unit Finishes training a unit
    • Conditions
      • ((Trained unit) is A Hero) Equal to True
    • Actions
      • Hero - Create *item* and give it to (Trained unit)
      • Item - Make (Last created item) Undroppable
Did you know that you can't make the AI cast abilities in a spell book?
 
Status
Not open for further replies.
Top