Return-On-Hit Throwing Weapons
⚪ Last updated 2012🔍 Analysis
- 🏆 #13 of 23 Scripts mods in this game by downloads
📋 About This Mod
A tag-based OnHit script that causes throwing weapons (or ammo) to return on a successful hit.
The tag-based OnHit script below can be used in conjunction with the \"Unique Power (On Hit)\" item property to cause thrown weapons (axes or darts) to return on a successful hit. The script also works on ammo, but the returning visual effect doesn\'t fire. Missed attacks result in the stack decreasing as usual. Give a stack of throwing weapons or ammo the \"On Hit Cast Spell: Unique Power (On Hit)\" item property, give the stack a unique tag, then name the script i_itemtag_hc (where \'itemtag\' is replaced with the unique tag you gave the stack). -- // i_itemtag_hc // Tag-based OnHit script for thrown weapons // that return on a successful hit void main() { object oItemHit = GetSpellCastItem(); if (!GetIsObjectValid(oItemHit)) return; object oTarget = GetSpellTargetObject(); object oPC = GetItemPossessor(oItemHit); location lPC = GetLocation(oPC); location lTarget = GetLocation(oTarget); SetItemStackSize(oItemHit, GetItemStackSize(oItemHit)+1, FALSE); SpawnItemProjectile(oTarget, oPC, lTarget, lPC, GetBaseItemType(oItemHit), PROJECTILE_PATH_TYPE_HOMING, OVERRIDE_ATTACK_RESULT_PARRIED, 0); }
📊 Mod Details
- Game
- Neverwinter2 Mods
- Author
- Dann Pigdon
- Version
- 1.0
- Downloads
- 132
- Endorsements
- 8
- Category
- Scripts
- Created
- 9/19/2012
- Updated
- 9/23/2012
🔧 How to Install Neverwinter Nights 2 Mods
Install via a mod manager (Vortex or Mod Organizer 2). Most mods drop into the game folder.
📖 Full step-by-step install guide for Neverwinter Nights 2 →
Visit the official mod page for specific installation instructions for this mod.
🎮 Need cheat codes or console commands? Check ur gaming wiki for Neverwinter Nights 2 commands, item IDs, and more.
Keep browsing — more Neverwinter Nights 2 mods await