4
\$\begingroup\$

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

enter image description here

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.

enter image description here

I then added the dummy explosion to a new magic effect, and then attached the magic effect to the conjuration spell I created.

enter image description here

enter image description here

\$\endgroup\$

1 Answer 1

2
\$\begingroup\$

Try using PlaceAtMe to place your soil patch in the magic effect, rather than in the activator.

I have teleport spell to teleport me to my created world which works fine if the script is placed in the magic effect section rather than the activator. Try that.

\$\endgroup\$
0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .