HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

custom weapon items!

08-30-2003, 03:45 PM#1
LAlakers126
hey, i am making custom weapon items(i.e. sword) that when ya pick em up, u get the bonus damage and strength from the item and also a special effect of the weapon on yur hand. I have 2 questions about this:
1 - i want to limit the amount of weapon items a hero has to one. This means that if a hero has x weapon item and he tries to pick up y weapon item, it will not let him.
2 - I want to be able to make the special effect weapon go onto an unused hand. for example, pally has his hammer in his right hand so i want the weapon to be in his left hand. Also, Jaina has her staff in her left hand so i want it to go into her right hand. Is there a special effect thing that is for the unused hand?
08-30-2003, 05:52 PM#2
Thunderroms
atcually you can do them both with 1 trigger...

EVENT: hero acquires an item

Action: IF/THEN/ ELSE multiple actions

IF: he has weaponA OR he has Weapon B OR he has
weapon C or he has Weapon D....

THEN: drop acquired item.

ELSE: IF RH = false then create special effect in hand right AND set RH = true else if LH = false then create special effect in hand left AND set HL = true else drop last acquired item.

RH variable to see if he has weapon in right hand
LH (same as above but left hand)
09-07-2003, 01:27 PM#3
BoZo
What the **** are you doing?

Some one award him his well earned 29 warning level.
09-07-2003, 01:55 PM#4
MaabyTTk
Hey this match my project can anyone plz find whats wrong on this map?
09-14-2003, 06:41 AM#5
Phil_123
Quote:
Originally posted by megaerathia
i dont know anything about triggers!!!!!!!!!!!!!!:ggani:
ban this guy. period.