Battledale_PRC8/_module/nss/dmfi_univ_voiceb.nss

23 lines
575 B
Plaintext
Raw Permalink Normal View History

//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")))
return TRUE;
return FALSE;
}