Initial upload
Initial upload. PRC8 has been added. Module compiles, PRC's default AI & treasure scripts have been integrated. Started work on top hak for SLA / Ability / Scripting modifications.
This commit is contained in:
22
_module/nss/dmfi_univ_voiceb.nss
Normal file
22
_module/nss/dmfi_univ_voiceb.nss
Normal file
@@ -0,0 +1,22 @@
|
||||
//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;
|
||||
}
|
||||
Reference in New Issue
Block a user