13 lines
329 B
Plaintext
13 lines
329 B
Plaintext
//Goes OnPerceived of a creature
|
|
void main()
|
|
{
|
|
|
|
object oPC = GetLastPerceived();
|
|
|
|
if (!GetIsPC(oPC)) return;
|
|
|
|
if (!GetLastPerceptionSeen()) return;
|
|
DelayCommand(1.0, AssignCommand(OBJECT_SELF,ActionForceFollowObject(oPC)));
|
|
DelayCommand(30.0, AssignCommand(OBJECT_SELF,ActionMoveToObject(GetObjectByTag("WP_NW_SHGUARD_01"))));
|
|
}
|