Custom ammunition while shifted
Terrorble
Member Posts: 179
How do you equip custom ammunition to a shifted shape?
I gave my drider a bow in polymorph.2da and want to also equip custom arrows to the shape. I've tried the following in the module OnEquip handle:
The code fires, it sends me the message, but the arrows never equip and if I attack something it says I'm Out of Ammo.
The bow works fine with the Unlimited Ammo property, but I want to add an OnHit property that I can't get otherwise.
I gave my drider a bow in polymorph.2da and want to also equip custom arrows to the shape. I've tried the following in the module OnEquip handle:
if( sItemTag == "rl_driderbow" ) { object oArrow = CreateItemOnObject("driderarrow1",oPC,99); AssignCommand(oPC,ActionEquipItem(oArrow,INVENTORY_SLOT_ARROWS)); SendMessageToPC(oPC,"Drider arrows equiped."); }
The code fires, it sends me the message, but the arrows never equip and if I attack something it says I'm Out of Ammo.
The bow works fine with the Unlimited Ammo property, but I want to add an OnHit property that I can't get otherwise.
1
Comments
The answer is yes! (I thought I tried this a long time ago and didn't think it worked)
Thanks for allowing me to think out loud here.