HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

How would i make a ????

09-16-2003, 05:50 AM#1
CrypticParadox
In Legacies, when you buy items there are certain ones for certain races. The question is how can you design a race only item? Like make voodoo doll undead only?


also still having trouble doing a custom screenshot for the title pic. Anyone know the right way or .??? to use? I took the shot and everyting, just having trouble making it used as in import because the file path isn't right i'm assuming.

Any how thanks for helping if you jot some info down.
09-16-2003, 10:29 AM#2
Saethori
For race-only items, try forcing the hero to drop it (via triggers) if he's not the right race.

For your example..

Event - Hero picks up Item
Condition - Item = Voodoo Doll
Condition - Hero is not Undead
Action - Make Hero drop item


Also, if you want them to carry it and not use it, you can create dummy items, but are automatically replaced with the 'real' ones if the right race gets them, and switched back with the 'fake' ones if the hero drops or gives them.


As for the image, have you tried saving your map between importing the file and designating it? I got notified of a bug with the WE that requires this when I had the same problem.
09-19-2003, 02:22 AM#3
CrypticParadox
Trying but not getting it to work. Seems no matter what race i make it for, it just doesn't want to pick it up for the races that can use it. I know its definately trigger wise but its a pain finding the right one. Thought i had it but then it didn't work. I tried differ things but again nada.

Heres an example for one that i "TESTED"

Event->Generic Unit Event->UnitAcquiresITem

Condtion->Race Comparison->Player1 is Equal to Human
->Item Comparison->Red Drake Egg is equal to item being manipulated.

Action-> IF/Then/Else->IF race of player 1 equal to human THEN DO hero drop red drake egg from hero manipulating item ELSE DO give red drake egg to hero manipulating item.

Thats just one of few that i tried.Seems right but no cigar. Keep in mind i'm no Genius to triggering so if you can find a method could ya please post the know hows.
09-19-2003, 02:45 AM#4
AllPainful
Quote:
Event->Generic Unit Event->UnitAcquiresITem

Condtion->Race Comparison->Player1 is Equal to Human
->Item Comparison->Red Drake Egg is equal to item being manipulated.

Action-> IF/Then/Else->IF race of player 1 equal to human THEN DO hero drop red drake egg from hero manipulating item ELSE DO give red drake egg to hero manipulating item.


The first colored thing... Shouldn't that be "Player (owner of Item Acquiring Unit)" ?? Otherwise if player 2 picks up the item and IS the right race, it would still drop it if player 1 wasn't the right race.

The second colored thing... You alread compared that in the conditions, why do it again?

The third colored thing... If the unit is picking up the item, then if he matches the right race ha automatically will get it because you didn't tell him to drop it, therefor this would give the unit another one, so the unit would have 2 of them instead of 1.

Trigger, as I think it should be:
Code:
Event
  Unit accuires Item
Condition
  Item being manipulated equal to [color=red]****[/color]
  Player race of (owner of Accuiring unit) is NOT equal to human
Action
  Make (acuiring unit) drop (item being manipulated)

That would make it so if the item was made for human use only, and someone esle tried to pick it up, it would be dropped.

Of course put the item where the **** are.
09-19-2003, 02:52 AM#5
Saethori
Try this. This is a map I quickly hobbled together, which demonstrates the basics.

Nothing special is done with the items on this, it's all in the triggers. Check it out!

EDIT: Ugh, someone beat me to the punch when I was creating and testing a map. -.-
09-20-2003, 11:05 PM#6
CrypticParadox
Works beautiful!!!!!! thanks for the help Sae and the others that posted as well.

I did it a differ way but required more triggers in all if i just did it player wise. race wise lowers the trigger use by a ton so i converted it so i can do it easier and better. Appreciate it.

The item pick ups are working well, but my new problem is this end style i want. I had a post from before that a few peeps wrote to but i did it the way they mentioned and it didn't work. The end, i wanted the evil or good race to summon their specialized item at thier base once they retrieved it. I set up the region,timer,ect. The prob it activates without the item. Again i thought i almost had it right but no cigar. There was even points where certain triggers actually made the map crash. Funny after a few times it happens. I guess the question would be how would i make it a must for the item to activate the time trigger on a certain region?
09-20-2003, 11:52 PM#7
AllPainful
Make a trigger for your spawns at the base, but have it TURNED OFF. Then make another trigger.

Event
Unit accuires item
Condition
Item is of type ***
Action
Turn on Spawning trigger
How would i make a ???? - Wc3C.net