Request - NWNX Functions for PossessCreature
metagamer
Member Posts: 26
These functions would be great to have
Actually UnPossessCreature does not work but we just need PossessCreature to have possession and unpossession (with some easy trick).
However here the problem I faced in 1.69
- when a creature is possessed, the person could level it. If you do it, the server crashes (it does not crash IF the creature is created using the quick guide and the base-package-class. If you have just one more talent extra w.r.t. the package, we get crash)
- when a character posses a creature and he/she logs out, then the bic file is overwritten with the monster and the character is corrupted.
- it is possible to posses other character but, in this case, strange things happen and the server could crash (I do not know if it could be fixed)
- when you possess a creature and the creature dies, the client crashes
I guess you should check the system of animal companions/familiars and try to replicate it.
From nwnx_funcsext.nss: https://github.com/NWNX/nwnx2-linux/blob/master/plugins/funcsext/nwnx_funcsext.nss
// Change possession of oPC to oCreature
void PossessCreature(object oPC, object oCreature);
// unpossess creature formerly possessed with PossessCreature()
void UnPossessCreature(object oPC, object oCreature);
Actually UnPossessCreature does not work but we just need PossessCreature to have possession and unpossession (with some easy trick).
However here the problem I faced in 1.69
- when a creature is possessed, the person could level it. If you do it, the server crashes (it does not crash IF the creature is created using the quick guide and the base-package-class. If you have just one more talent extra w.r.t. the package, we get crash)
- when a character posses a creature and he/she logs out, then the bic file is overwritten with the monster and the character is corrupted.
- it is possible to posses other character but, in this case, strange things happen and the server could crash (I do not know if it could be fixed)
- when you possess a creature and the creature dies, the client crashes
I guess you should check the system of animal companions/familiars and try to replicate it.
2