generated from Jaysyn/ModuleTemplate
Initial Commit
Initial Commit
This commit is contained in:
33
_module/nss/onpercieve_dark.nss
Normal file
33
_module/nss/onpercieve_dark.nss
Normal file
@@ -0,0 +1,33 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: Name x2_def_percept
|
||||
//:: Copyright (c) 2001 Bioware Corp.
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
Default On Perception script
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Keith Warner
|
||||
//:: Created On: June 11/03
|
||||
//:://////////////////////////////////////////////
|
||||
//#include "onpercept_dark"
|
||||
|
||||
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))
|
||||
{
|
||||
DelayCommand(5.0, SetLocalInt(oMod, "perc_switch", 1));
|
||||
DelayCommand(1.0, Percieve(oPC));
|
||||
}
|
||||
else
|
||||
|
||||
}
|
Reference in New Issue
Block a user