Initial commit
Initial commit. Updated release archive.
This commit is contained in:
16
_module/nss/en6_ncit_enter.nss
Normal file
16
_module/nss/en6_ncit_enter.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
void main()
|
||||
{
|
||||
object oDuke;
|
||||
object oThrone;
|
||||
|
||||
ExecuteScript("en6_sit_enter",OBJECT_SELF);
|
||||
|
||||
if (GetLocalInt(GetModule(),"MainQuest") >=99 && GetLocalInt(OBJECT_SELF,"DoDukeOnce") == 0)
|
||||
{
|
||||
SetLocalInt(OBJECT_SELF,"DoDukeOnce",1);
|
||||
oDuke=CreateObject(OBJECT_TYPE_CREATURE,"en6_duke",GetLocation(GetObjectByTag("NC_Duke")));
|
||||
oThrone=GetObjectByTag("NC_Throne");
|
||||
DelayCommand(1.0f,AssignCommand(oDuke,ClearAllActions()));
|
||||
DelayCommand(2.0f,AssignCommand(oDuke,ActionSit(oThrone)));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user