AOC_PRC8/_module/nss/onpercieve_light.nss
Jaysyn904 5e558169a0 Initial Commit
Initial Commit
2025-04-03 11:24:16 -04:00

35 lines
930 B
Plaintext

//::///////////////////////////////////////////////
//:: Name x2_def_percept
//:: Copyright (c) 2001 Bioware Corp.
//:://////////////////////////////////////////////
/*
Default On Perception script
*/
//:://////////////////////////////////////////////
//:: Created By: Keith Warner
//:: Created On: June 11/03
//:://////////////////////////////////////////////
//#include "onpercept_light"
void main()
{
ExecuteScript("nw_c2_default2", OBJECT_SELF);
}
/*{
object oPC = GetLastPerceived();
object oMod = GetModule();
int iJswitch = GetLocalInt(oPC, "join_switch");
int iStatus = GetLocalInt(oMod, "war_won");
int iFlag = GetLocalInt(oMod, "perc_switch");
if ((iStatus==1)&&(iFlag!=1)&&(GetIsPC(oPC))&&(iJswitch==1))
{
FloatingTextStringOnCreature("** percieved **", oPC);
DelayCommand(5.0, SetLocalInt(oMod, "perc_switch", 1));
DelayCommand(1.0, PercieveLight(oPC));
}
else
}