2026/02/06 Update
Updated NWNxEE libraries. Full compile.
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
#include "color_inc"
|
||||
#include "dbg_inc"
|
||||
#include "chr_inc"
|
||||
#include "nwnx_player"
|
||||
//#include "nwnx_player"
|
||||
#include "nwnx_creature"
|
||||
#include "nwnx_time"
|
||||
//#include "nwnx_time"
|
||||
#include "nwnx_admin"
|
||||
#include "nwnx_deprecated"
|
||||
//#include "nwnx_deprecated"
|
||||
#include "anph_inc"
|
||||
|
||||
const string BADPARSE = "[BADPARSE]";
|
||||
@@ -315,11 +315,12 @@ void main()
|
||||
}
|
||||
else if ((sParams = ParseCommand(sMessage, "/soundset")) != BADPARSE)
|
||||
{
|
||||
int nCurrentVoice = NWNX_Creature_GetSoundset(oPC);
|
||||
//int nCurrentVoice = NWNX_Creature_GetSoundset(oPC);
|
||||
int nCurrentVoice = GetSoundset(oPC);
|
||||
int nNew = StringToInt(sParams);
|
||||
if (nNew > 0 || sParams == "0")
|
||||
{
|
||||
NWNX_Creature_SetSoundset(oPC, nNew);
|
||||
SetSoundset(oPC, nNew);
|
||||
SendMessageToPC(oPC, "Soundset changed from " + IntToString(nCurrentVoice) + " to " + IntToString(nNew));
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user