More NPCs & stores spawning instead of placed. Door scripts added. Change all random commoners & nobles over to X2 AI scripts.
19 lines
295 B
Plaintext
19 lines
295 B
Plaintext
|
|
void main()
|
|
{
|
|
|
|
object oPC = GetLastPerceived();
|
|
|
|
if (!GetIsPC(oPC)) return;
|
|
|
|
if (!GetLastPerceptionSeen()) return;
|
|
int DoOnce = GetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF));
|
|
|
|
if (DoOnce==TRUE) return;
|
|
|
|
SetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF), TRUE);
|
|
|
|
ActionStartConversation(oPC, "");
|
|
|
|
}
|