Jump to content

Oil Spill Spell


magnet55sphere

Recommended Posts

I am trying to make a spell that places "TrapOilPuddle01" wherever and whenever the projectile hits the ground. unfortunately i can only get it to work if it hits an NPC. this is my script so far
====================================================
Scriptname aaaMgntOilSpillScript extends ActiveMagicEffect

Activator Property TrapOilPool01 Auto

Event OnEffectStart(Actor akTarget, Actor akCaster)
    akTarget.placeatme(TrapOilPool01)
EndEvent
====================================================
i tried using OnHit but its not a function for "extends ActiveMagicEffect"

Link to comment
Share on other sites

i figured it out. i just made a new projectile that has a specific explosion i made as well, set the explosion to spawn the oil pool. unfortunately the oil pool is always at an awkward angle, so i might have to make a new object that is a duplicate of the oil and put a script that sets its x and y angle to 0 OnLoad or something

Edited by magnet55sphere
wrote poo instead of pool
Link to comment
Share on other sites

  • Recently Browsing   0 members

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