Table of Contents

Method Swarm

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

Swarm(bool, string, string, string, string)

Creates a swarm effect. This is exactly the same as SummonCreature(string, VisualEffectTableEntry, TimeSpan, int, VisualEffectTableEntry?), except, after one dies, another takes its place.

public static Effect Swarm(bool loop, string creatureTemplate1, string creatureTemplate2 = "", string creatureTemplate3 = "", string creatureTemplate4 = "")

Parameters

loop bool

If true, while the effect is active and the last creature dies, it will loop back to the first template.

creatureTemplate1 string

The blueprint of the first creature to spawn.

creatureTemplate2 string

The blueprint of the second creature to spawn.

creatureTemplate3 string

The blueprint of the third creature to spawn.

creatureTemplate4 string

The blueprint of the fourth creature to spawn.

Returns

Effect