34 lines
862 B
Plaintext
34 lines
862 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_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
|
||
|
|
||
|
}
|