23 lines
540 B
Plaintext
23 lines
540 B
Plaintext
#include "NW_I0_GENERIC"
|
|
|
|
void main()
|
|
{
|
|
|
|
string sTemplate;
|
|
string sItem;
|
|
object oSpawnPoint;
|
|
object oThug;
|
|
int nIdx;
|
|
location lLoc;
|
|
|
|
sTemplate = "GOA";
|
|
|
|
for(nIdx = 1; nIdx <= 3; nIdx++)
|
|
{
|
|
lLoc = GetLocation(GetNearestObjectByTag("WP_GOAEND" + IntToString(nIdx)));
|
|
oThug = CreateObject(OBJECT_TYPE_CREATURE,sTemplate,lLoc);
|
|
ApplyEffectAtLocation(DURATION_TYPE_INSTANT,EffectVisualEffect(VFX_FNF_SUMMON_MONSTER_1),lLoc);
|
|
}
|
|
|
|
}
|