24 lines
477 B
Plaintext
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"));
|
|
}
|
|
}
|