23 lines
575 B
Plaintext
23 lines
575 B
Plaintext
//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;
|
|
}
|