Initial Upload
Initial Upload
This commit is contained in:
17
_module/nss/irda_start.nss
Normal file
17
_module/nss/irda_start.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
#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));
|
||||
}
|
Reference in New Issue
Block a user