generated from Jaysyn/ModuleTemplate
Initial Commit
Initial Commit
This commit is contained in:
23
_module/nss/spawner_m2.nss
Normal file
23
_module/nss/spawner_m2.nss
Normal file
@@ -0,0 +1,23 @@
|
||||
/* Script generated by
|
||||
Lilac Soul's NWN Script Generator, v. 1.6
|
||||
|
||||
For download info, please visit:
|
||||
http://www.lilacsoul.revility.com */
|
||||
|
||||
//Put this OnUsed
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetLastUsedBy();
|
||||
object oMod = GetModule();
|
||||
int oGameMode = GetLocalInt(oMod, "gamemode");
|
||||
object oTarget = OBJECT_SELF;
|
||||
if (oGameMode==1)
|
||||
{
|
||||
AssignCommand(oTarget, ActionStartConversation(oPC, "spawner4"));
|
||||
}
|
||||
else
|
||||
{
|
||||
AssignCommand(oTarget, ActionStartConversation(oPC, "spawner2"));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user