#How can you do projectile modifier with an autocast in lua.
1 messages · Page 1 of 1 (latest)
you need:
- an ability with behavior
DOTA_ABILITY_BEHAVIOR_ATTACK,DOTA_ABILITY_BEHAVIOR_AUTOCASTandDOTA_ABILITY_BEHAVIOR_UNIT_TARGET - a modifier that can listen
OnAttackLanededevent, and with the property to change your projectile (MODIFIER_PROPERTY_PROJECTILE_NAME - a modifier that can be stacked
complete!
what is MODIFIER_PROPERTY_PROJECTILE_NAME as i can't find info about it anywhere
Found 3 functions for projectile name
🇸 🇨 CDOTA_Modifier_Lua:GetModifierProjectileName(): string
🇸 CDOTA_BaseNPC:GetRangedProjectileName(): string
🇸 CDOTA_BaseNPC:SetRangedProjectileName(projectileName: string): nil
it's a modifier function
for more details, refer to https://moddota.com/api/#!/vscripts?search=projectile name