Initial Upload

Initial Upload
This commit is contained in:
Jaysyn904
2023-08-08 16:22:17 -04:00
parent 51a2a1286e
commit 22947ad4b6
6511 changed files with 6765205 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
#include "nw_i0_generic"
void main()
{
object oPC = GetLastUsedBy();
object oTarget = GetWaypointByTag("wp_bellring");
location lTarget = GetLocation(oTarget);
int DoOnce = GetCampaignInt("drowbell",GetTag(OBJECT_SELF),oPC);
if (DoOnce==1) return;
AssignCommand(oPC, PlaySound("as_cv_bell2"));
object oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "drow", lTarget);
SetIsTemporaryEnemy(oPC, oSpawn);
AssignCommand(oSpawn, ActionAttack(oPC));
AssignCommand(oSpawn, DetermineCombatRound(oPC));
SetCampaignInt("drowbell",GetTag(OBJECT_SELF),1,oPC);
}