Is is possible to equip a creature weapon onto a PC?
I have the following command that occurs OnEnter for a specific subrace, but it doesn't seem to do anything (maybe I'm using it wrong). The other parts of the script fire just fine.
//Give the creature weapon proficiency
if (!GetHasFeat(FEAT_WEAPON_PROFICIENCY_CREATURE, oPC))
{
NWNXFuncs_AddFeat (oPC, FEAT_WEAPON_PROFICIENCY_CREATURE);
}
Then later, I try to equip the claws onto the PC, but it doesn't take. The claws go into inventory and sit there. Should I use a delay before equipping to allow the properties to be added? Does the PC not have a creature slot?
Equipping claws:object oBite = CreateItemOnObject ("subrace_claw", oPC);
ApplySubraceProperties (oBite, oPC); //this applies specific properties to the claws
AssignCommand (oPC, ActionEquipItem(oBite, INVENTORY_SLOT_CWEAPON_R));
Thanks!
Modifié par BelowTheBelt, 20 novembre 2013 - 06:49 .