Different Tomes for Different Units ???

PaladinHeart

Member
Joined
Feb 8, 2006
Messages
6
Reaction score
0
Is there a way to make a tome not work for a unit, but let that unit carry it? Without disabling said unit's ability to use items, of course.

Umm.. well anyways. How would I do this?

Like I want X unit only able to use X tomes and Y unit only able to use Y tomes, and they could carry tomes around they can't use and swap with each other.
 

Dream_Walker

BattleForums Senior Member
Joined
Feb 20, 2005
Messages
1,924
Reaction score
0
Location
Arcanum
Probably by using dummy items and triggers, yeah.
 

Octopor

your whole family is made of meat
Joined
Nov 28, 2003
Messages
2,043
Reaction score
2
Simply make the tomes not be used on a pickup, and then trigger it only for specific units. Also whenever a unit picks up a tome that they can't use trigger it so that they have to drop it.

How to do it:
Disable tomes to be used when picked up then make two triggers. One to automatically use the item if the hero is of the right type, and one to automatically drop the item if the hero is of the wrong type.

Use item if right hero
Events
Unit - A unit Acquires an item
Conditions
(Item-type of (Item being manipulated)) Equal to Tome of Whatever
(Unit-type of (Hero manipulating item)) Equal to Right Hero
Actions
Hero - Order (Hero manipulating item) to use (Item being manipulated)

Drop item if wrong hero
Events
Unit - A unit Acquires an item
Conditions
(Item-type of (Item being manipulated)) Equal to Tome of Whatever
(Unit-type of (Hero manipulating item)) Equal to Wrong Hero
Actions
Hero - Drop (Item being manipulated) from (Hero manipulating item)
 

NewPosts

New threads

Top