pick up / drop items

Status
Not open for further replies.
Level 7
Joined
Dec 4, 2007
Messages
121
ive been working on this all morning and still got me stumped,

-hero has item A,
-hero picks up item B
-picking up item B causes item A to drop out of invintory

how can i get something like this to work?, it looks simple, but i cant seem to figure it out
 
  • Trigger
  • Events
    • Unit - A unit acquires an item
  • Conditions
    • (Item-type of (Item being manipulated)) Equal to Item B //Item-type comparison
    • ((Triggering unit) has an item of type Item A) Equal to True //Boolean Comparison
  • Actions
    • Hero - Drop (Item being manipulated) from (Triggering unit)

Wouldn't this drop item B if you pick it up?

== Try this ==
  • Test
    • Events
      • Unit - A unit Acquires an item
    • Conditions
      • (Item-type of (Item being manipulated)) Equal to Claws of Attack +15
      • ((Hero manipulating item) has an item of type Crown of Kings +5) Equal to True
    • Actions
      • Hero - Drop (Item carried by (Hero manipulating item) of type Crown of Kings +5) from (Hero manipulating item)
 
Status
Not open for further replies.
Back
Top