Initial module commit
Initial module commit.
This commit is contained in:
24
_module/nss/talktopc.nss
Normal file
24
_module/nss/talktopc.nss
Normal file
@@ -0,0 +1,24 @@
|
||||
/* Script generated by
|
||||
Lilac Soul's NWN Script Generator, v. 2.1
|
||||
|
||||
For download info, please visit:
|
||||
http://nwvault.ign.com/View.php?view=Other.Detail&id=4683&id=625 */
|
||||
|
||||
//Goes OnPerceived of a creature
|
||||
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, "");
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user