Difference between revisions of "Complete Example Scripts"
Jump to navigation
Jump to search
m
→Summon Spell
imported>Qqqbbb m (→typo) |
imported>Qqqbbb m (→Summon Spell) |
||
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 | *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 | ||