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

Limitation of item

Status
Not open for further replies.

gambangsemarang

G

gambangsemarang

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 by a moderator:
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?
 
is the trigger that simple?
Thanks for Maker,

but so far the AI can cast even some triggered-made abilities i made.
 
Status
Not open for further replies.
Back
Top