16 lines
575 B
Plaintext
16 lines
575 B
Plaintext
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")));
|
|
}
|