18 lines
507 B
Plaintext
18 lines
507 B
Plaintext
#include "nw_i0_generic"
|
|
void main()
|
|
{
|
|
|
|
object oPC = GetPCSpeaker();
|
|
object oTarget = GetWaypointByTag("wp_irdaspirit_land");
|
|
location lTarget = GetLocation(oTarget);
|
|
|
|
object oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "spiritofirda", lTarget);
|
|
ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_SUMMON_GATE), lTarget);
|
|
|
|
|
|
SetIsTemporaryEnemy(oPC, oSpawn);
|
|
AssignCommand(oSpawn, ActionAttack(oPC));
|
|
AdjustReputation(oPC,oSpawn, -100);
|
|
AssignCommand(oSpawn, DetermineCombatRound(oPC));
|
|
}
|