                         /*
 *  Script generated by LS Script Generator, v.TK.0
 *
 *  For download info, please visit:
 *  http://nwvault.ign.com/View.php?view=Other.Detail&id=1502
 */
// Put this under "Actions Taken" in the conversation editor.


#include "nw_i0_generic"


void main()
{
    object oTarget;
    object oSpawn;
    effect eVFX;

    // Get the PC who is in this conversation.
    object oPC = GetPCSpeaker();

    // Spawn "q_carrioncraw001".
    eVFX = EffectVisualEffect(VFX_IMP_DUST_EXPLOSION);
    oTarget = GetWaypointByTag("WP_Carrion_Spawn");
    oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "q_carrioncraw001", GetLocation(oTarget));
    SetLocalInt(oPC, "carrioncrawler", 1);
    AssignCommand(oSpawn, DetermineCombatRound(oPC));
    DelayCommand(0.5, ApplyEffectToObject(DURATION_TYPE_INSTANT, eVFX, oSpawn));
}

