Player Resource Consortium
Neverwinter Nights => Builders => Topic started by: malonkey1 on June 07, 2012, 02:55:43 PM
-
I am currently working on an Incarnum system, and I was wondering if it would be difficult to just have bound Chakras be coded into the player's hide, and have that lock out or nullify overriden items. It would make coding the Split Chakra Feat easier.
-
I am currently working on an Incarnum system, and I was wondering if it would be difficult to just have bound Chakras be coded into the player's hide, and have that lock out or nullify overriden items. It would make coding the Split Chakra Feat easier.
It is possible.
Can Chackra be used as a weapon (sorry I haven't finished reading that handbook yet)? If not then I think 'locking' equipement slots is a good idea. Also can Chakra's effects be dispelled?
-
Soulmelds, as they exist, cannot be used as weapons, and they are suppressed by dispel magic, much like a magic item.
-
Also, how would one "Lock" Item Slots?
-
Also, how would one "Lock" Item Slots?
Have the OnEquip script deny use of them?
-
Well, for bound Chakras, I honestly think it would be simpler to just have items placed in the slots they would occupy, which could only be removed by unbinding the Chakra.
-
Well, for bound Chakras, I honestly think it would be simpler to just have items placed in the slots they would occupy, which could only be removed by unbinding the Chakra.
It's not simplier - this would require a check in OnEquip and OnUnequip events. Most chakras won't be visible on the character anyway, so we could just keep those slots empty (only one check in OnEqiup).
-
Alright. Will do.
-
Quick Question:
How does one do the "Deny Use Using OnEquip" thing?
I tried to look through the existing OnEquip Script, but It was really, really long.
-
You can use something like this:
if(<item check>)
{
//Force unequip
ForceUnequip(oPC, GetItemInSlot(nSlot, oPC), nSlot);
SendMessageToPC(oPC, "You cannot use this item");
}
-
Ah. I see.