generated from Jaysyn/ModuleTemplate
Initial commit
Initial commit
This commit is contained in:
26
_module/nss/alteroneenter.nss
Normal file
26
_module/nss/alteroneenter.nss
Normal file
@@ -0,0 +1,26 @@
|
||||
/* Script generated by Lilac Soul's NWN Script Generator, v. 2.3
|
||||
For download info, please visit: http://nwvault.ign.com/View.php?view=Other.Detail&id=4683&id=625 */
|
||||
|
||||
//Put this script OnEnter
|
||||
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetEnteringObject();
|
||||
|
||||
if (!GetIsPC(oPC)) return;
|
||||
int DoOnce = GetLocalInt(oPC, GetTag(OBJECT_SELF));
|
||||
if (DoOnce==TRUE) return;
|
||||
SetLocalInt(oPC, GetTag(OBJECT_SELF), TRUE);
|
||||
|
||||
object oTarget;
|
||||
object oSpawn;
|
||||
|
||||
location lTarget;
|
||||
oTarget = oPC;
|
||||
|
||||
lTarget = GetLocation(oTarget);
|
||||
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "runefaustsentry", lTarget);
|
||||
oTarget = oSpawn; AssignCommand(oTarget, ActionStartConversation(oPC, ""));
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user