Initial Upload
Initial Upload
This commit is contained in:
15
_module/nss/drow_statue_1.nss
Normal file
15
_module/nss/drow_statue_1.nss
Normal file
@@ -0,0 +1,15 @@
|
||||
void main()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
object oTarget = GetObjectByTag("mob_statue");
|
||||
location lTarget = GetLocation(oTarget);
|
||||
object oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "witchammy");
|
||||
|
||||
SetLocalInt(OBJECT_SELF, "drowking", 2);
|
||||
DestroyObject(oItemToTake);
|
||||
ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_IMP_POLYMORPH), GetLocation(oTarget));
|
||||
DestroyObject(oTarget, 0.5);
|
||||
|
||||
object oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "drowprincess", lTarget);
|
||||
DelayCommand(2.0,AssignCommand(oSpawn, ActionStartConversation(oPC, "drow_princess")));
|
||||
}
|
Reference in New Issue
Block a user