| 11-12-2007, 05:46 AM | #1 |
I've looked into Vexorian's Hero Selection System and shadow1500's recipie system, I've noticed that they use the ability's art effects in their implementation as well. I just wondering how would this work. And what ability art effects (special, target etc.) would be used and what native is used to access it. Thanks in advance -Av3n |
| 11-12-2007, 07:36 AM | #2 |
Well, this is the functions I found to do this: JASS:native GetAbilityEffectById takes integer abilityId, effecttype t, integer index returns string There are also some global variables: JASS:constant effecttype EFFECT_TYPE_EFFECT = ConvertEffectType(0) constant effecttype EFFECT_TYPE_TARGET = ConvertEffectType(1) constant effecttype EFFECT_TYPE_CASTER = ConvertEffectType(2) constant effecttype EFFECT_TYPE_SPECIAL = ConvertEffectType(3) constant effecttype EFFECT_TYPE_AREA_EFFECT = ConvertEffectType(4) constant effecttype EFFECT_TYPE_MISSILE = ConvertEffectType(5) constant effecttype EFFECT_TYPE_LIGHTNING = ConvertEffectType(6)
|
| 11-13-2007, 02:03 AM | #3 |
Thanks Pyro, thts helpes me a bit +Rep -Av3n |
