Jump to content

Area effect spells


Thalassicus

Recommended Posts

How do I create a spell which applies a script to targets in an area?

 

I copied the fireball spell and effect, and replace the "value modifier" effect with "script". I then created a simple script using event OnEffectStart.

 

event OnEffectStart(Actor target, Actor caster)

Debug.Notification(caster + " hit " + target)

endevent

 

However, this appears to only run on the actor I aim the spell at, and does not have an area effect like fireball did. What might I have done wrong? Area is set to 15 in the "spellmaking" part of the effect.

Edited by Thalassicus
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...