26 lines
667 B
Plaintext
26 lines
667 B
Plaintext
|
//::///////////////////////////////////////////////
|
||
|
//:: Default On Percieve
|
||
|
//:: NW_C2_DEFAULT2
|
||
|
//:: Copyright (c) 2001 Bioware Corp.
|
||
|
//:://////////////////////////////////////////////
|
||
|
/*
|
||
|
Checks to see if the perceived target is an
|
||
|
enemy and if so fires the Determine Combat
|
||
|
Round function
|
||
|
*/
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:: Created By: Preston Watamaniuk
|
||
|
//:: Created On: Oct 16, 2001
|
||
|
//:://////////////////////////////////////////////
|
||
|
|
||
|
#include "NW_I0_GENERIC"
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
|
||
|
if(GetSpawnInCondition(NW_FLAG_PERCIEVE_EVENT) && GetLastPerceptionSeen())
|
||
|
{
|
||
|
SignalEvent(OBJECT_SELF, EventUserDefined(1002));
|
||
|
}
|
||
|
}
|