HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Is it posible to add an ability to an object in game using jass?

05-22-2006, 01:16 PM#1
grupoapunte
Is it posible to add an ability to an object in game using jass?

How do i do it?

Thanks
05-22-2006, 02:01 PM#2
Captain Griffen
What do you mean by 'object'? Of course you cannot add abilities to destructibles, etc, but you can add them to units. UnitAddAbility(unit, abilitycode) I think, not completely certain.
05-22-2006, 02:03 PM#3
grupoapunte
sry my mistake i meant item, as an ability to an item
05-22-2006, 02:14 PM#4
Captain Griffen
In that case, no. What are you trying to do? There is most likely a work around.
05-22-2006, 02:51 PM#5
shadow1500
You can store the ability to the item, when its picked up, give the ability to the hero, when its dropped, remove the ability.