Is there a way to give a player limited or full control of an animal or NPC that the DM creates?
Player controling animals or NPC's
Débuté par
Bidler
, déc. 13 2011 03:00
#1
Posté 13 décembre 2011 - 03:00
#2
Posté 13 décembre 2011 - 06:36
If you mean direct control, such as they can do with a wizards familiar, I don't know of any way to allow it.
You can, however, make fairly complex scripts that could allow any number of commands/emotes to be obeyed by the animal.
The easiest way would be to set them as a henchmen and then add custom code to either the modules OnChat event or the NPC's OnConversation event.
You can, however, make fairly complex scripts that could allow any number of commands/emotes to be obeyed by the animal.
The easiest way would be to set them as a henchmen and then add custom code to either the modules OnChat event or the NPC's OnConversation event.
#3
Posté 13 décembre 2011 - 11:00
nwnx funcs for win32 does have a PossessCreature command.
It does allow the possession, you need to handle the unpossession via the unpossesscreature command too.
You need to control somethings while possessed, as some player actions, can crash the server, if done while possessing an npc.
Also - Player Characters can be overwrote with the npc they are possessing, if the server exports while possessed.
It does allow the possession, you need to handle the unpossession via the unpossesscreature command too.
You need to control somethings while possessed, as some player actions, can crash the server, if done while possessing an npc.
Also - Player Characters can be overwrote with the npc they are possessing, if the server exports while possessed.
#4
Posté 14 décembre 2011 - 05:47
That's good to know.
Do you know which player actions can crash the server while they're possessing?
We might be able to find some use for this.
Do you know which player actions can crash the server while they're possessing?
We might be able to find some use for this.
#5
Posté 03 janvier 2012 - 03:49
things such as leveling up, or attempting to rest as an npc (at least from my early tests) - resulted in a crash.
It is dangerous too.
You need to override the save character functionality that ur server uses.
If save character is called while the player is possessing a creature, their bic file will get overwrote with the creature.
When the player logs in again, they will have lost their character, and the creature will be their permanent host.
Dangerous if they log out while possessing.
It is dangerous too.
You need to override the save character functionality that ur server uses.
If save character is called while the player is possessing a creature, their bic file will get overwrote with the creature.
When the player logs in again, they will have lost their character, and the creature will be their permanent host.
Dangerous if they log out while possessing.





Retour en haut







