Difference between revisions of "Complete Example Scripts"

Jump to navigation Jump to search
2 bytes added ,  08:27, 15 November 2013
m
imported>Qqqbbb
imported>Qqqbbb
Line 649: Line 649:


= Summon Spell =
= Summon Spell =
*The below will summon YourSummonREF from wherever they are to the player. In this example, it's dealt with by a spell, but the function could be placed and/or called elsweyr. If as a spell, be sure to set the cooldown time to about 3.0 seconds so the caster can't cast it again until it's worked itself out.
*The below will summon YourSummonREF from wherever they are to the player. In this example, it's dealt with by a spell, but the function could be placed and/or called elsewhere. If as a spell, be sure to set the cooldown time to about 3.0 seconds so the caster can't cast it again until it's worked itself out.
<Source lang="Papyrus">ScriptName RepeatableSummonEffectScript extends ActiveMagicEffect
<Source lang="Papyrus">ScriptName RepeatableSummonEffectScript extends ActiveMagicEffect


Anonymous user

Navigation menu