Initial Upload
Initial Upload
This commit is contained in:
23
_module/nss/dmfi_univ_voicea.nss
Normal file
23
_module/nss/dmfi_univ_voicea.nss
Normal file
@@ -0,0 +1,23 @@
|
||||
//DMFI Universal Wand scripts by hahnsoo
|
||||
int StartingConditional()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
object oMod = GetModule();
|
||||
DeleteLocalInt(oPC, "Tens");
|
||||
|
||||
int iLoop = 20610;
|
||||
while (iLoop < 20680)
|
||||
{
|
||||
SetCustomToken(iLoop, GetLocalString(oMod, "hls" + IntToString(iLoop)));
|
||||
iLoop++;
|
||||
}
|
||||
SetCustomToken(20680, GetName(GetLocalObject(oPC, "dmfi_univ_target")));
|
||||
|
||||
|
||||
if (GetLocalString(oPC, "dmfi_univ_conv") == "voice" &&
|
||||
GetIsObjectValid(GetLocalObject(oPC, "dmfi_univ_target")) &&
|
||||
oPC != GetLocalObject(oPC, "dmfi_univ_target"))
|
||||
return TRUE;
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
Reference in New Issue
Block a user