Method SummonCreature
SummonCreature(string, VisualEffectTableEntry, TimeSpan, int, VisualEffectTableEntry?)
Creates an effect to summon a creature from a resref.
THIS IS OBJECT CONTEXT SENSITIVE! Use WaitForObjectContext() to correctly assign the right owner of the master.
public static Effect SummonCreature(string creatureResRef, VisualEffectTableEntry summonVfx, TimeSpan delay = default, int appearType = 0, VisualEffectTableEntry? unsummonVfx = null)
Parameters
creatureResRefstringThe template/ResRef of the creature to summon.
summonVfxVisualEffectTableEntryA visual effect to display upon summoning.
delayTimeSpanA delay between the visual effect, and the creature actually being added to the area.
appearTypeintThe appear animation to use.
unsummonVfxVisualEffectTableEntryA visual effect to display when this creature is unsummoned.
Returns
SummonCreature(NwCreature, VisualEffectTableEntry, VisualEffectTableEntry?)
Creates an effect that uses summon behaviours on an existing creature.
public static Effect SummonCreature(NwCreature summonCreature, VisualEffectTableEntry summonVfx, VisualEffectTableEntry? unsummonVfx = null)
Parameters
summonCreatureNwCreatureThe creature to be used as the summoned creature. Must not have a current "master" creature.
summonVfxVisualEffectTableEntryA visual effect to display when claiming the summoned creature.
unsummonVfxVisualEffectTableEntryA visual effect to play when the summoned creature is unsummoned.