Lankhmar_PRC8/_module/nss/cnv_spn_mako2.nss

20 lines
500 B
Plaintext
Raw Permalink Normal View History

2025-04-03 12:54:47 -04:00
void main()
{
object oTarget;
object oSpawn;
effect eVFX;
// Get the PC who is in this conversation.
object oPC = GetPCSpeaker();
// Spawn "mako2".
eVFX = EffectVisualEffect(VFX_IMP_DUST_EXPLOSION);
oTarget = GetWaypointByTag("WP_SPn_mako2");
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "mako2", GetLocation(oTarget));
AssignCommand(oSpawn, ActionStartConversation(oPC));
DelayCommand(0.5, ApplyEffectToObject(DURATION_TYPE_INSTANT, eVFX, oSpawn));
}