AOC_PRC8/_module/nss/spawner_m2.nss
Jaysyn904 5e558169a0 Initial Commit
Initial Commit
2025-04-03 11:24:16 -04:00

24 lines
477 B
Plaintext

/* 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"));
}
}