I'm making a spell that'll place a soil patch on the ground in skyrim, and I cannot get it to work. I would like some help. When I tested the spell in game, no soil patch appeared on the ground. I tried doing it on different terrains and different levels of hills, mountains, etc. with no luck. I'm not sure what I am missing. I'm using the soil patches that are functional in the HearthFire DLC.
Here is what I've done thus far:
I made an activator "marker" with a script attached to it that is supposed to summon a soil patch at its location. This is the current script for it:
ScriptName maSpawnSoilPatchActivatorScript Extends ObjectReference ObjectReference refMarkerPosition Event OnInit() refMarkerPosition = Self.PlaceAtMe(Game.GetForm(0x02008240)) EndEvent
After, I made a "dummy" explosion that is supposed to place the activator at the location where the spell hits, so that it can spawn the soil patch in that location.
I then added the dummy explosion to a new magic effect, and then attached the magic effect to the conjuration spell I created.