Alangara_PRC8/_module/nss/2tranquility.nss
Jaysyn904 86feb9ca6f Initial commit
Initial commit.
2024-06-05 21:21:06 -04:00

39 lines
804 B
Plaintext

/* Script generated by
Lilac Soul's NWN Script Generator, v. 2.0
For download info, please visit:
http://nwvault.ign.com/View.php?view=Other.Detail&id=4683&id=625 */
void main()
{
object oPC;
oPC = GetItemActivator();
object oTarget;
oTarget = oPC;
effect eEffect;
eEffect = EffectKnockdown();
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eEffect, oTarget, 30.0f);
eEffect = EffectStunned();
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eEffect, oTarget, 30.0f);
object oSpawn;
location lTarget;
lTarget = GetLocation(oTarget);
oSpawn = CreateObject(OBJECT_TYPE_PLACEABLE, "butterflies2", lTarget);
oTarget = GetObjectByTag("butterflies2");
DelayCommand(28.0, DestroyObject(oTarget, 0.0));
DelayCommand(8.0, AssignCommand(oPC, ActionSpeakString("wooooow, i see butterflies.")));
}