Warcraft III resources & community, 2003–2006 · archived

I also need to know how to...

3 posts
#1

I also need to know how to...

Thanks for the help on the item thing, rearly appreciated, but could someone help me again please.

What are the triggers to make it so only certain "Classes" (heros) can pick up certain items.
Would also be appriciated...

Thanks :D
#2
Events:
Unit acuires an item
Conditions:
Item = *a bow*
Actions:
If: unittype - hero manipulating item = *an archer class hero*
then: Do Nothing
Else: drop item for *hero*

PS: at the *an archer class hero* use a condition for every archer type hero in ur game
#3
Events:
Unit acuires an item
Conditions:
Item = *a bow*
Actions:
If: unittype - hero manipulating item = *an archer class hero*
then: Do Nothing
Else: drop item for *hero*

PS: at the *an archer class hero* use a condition for every archer type hero in ur game

PSII: U can also make fake errors with the JASS system called *sim error* (or use WEU's advanced functions)