Jump to content

[LE] Placeatme summon spell


VenixHD

Recommended Posts

So basically i made a follower with a bit of backstory regarding cloning and whatnot so basically i added a spell to the game that spawns in a direct clone of my follower, however its not a true follower in that i cant talk to it or anything like that.

 

my question is, is it possible to make a spell that acts a lot like the "placeatme" command? basically placing a new version of that npc instead of a summoned version that i can't talk to. i did a little searching but from what i did find all that people suggested was to make the summon an infinite timer but i actually want to talk to the summons as if it was the actual follower.

 

thanks in advance.

Link to comment
Share on other sites

Did you have a look at any of the magic effects in the creation kit? You can place scripts on them.

https://www.creationkit.com/index.php?title=Magic_Effect

 

If you are going to be working with scripts these two pages will be very useful.

 

https://www.creationkit.com/index.php?title=Category:Script_Objects

https://www.creationkit.com/index.php?title=While

Link to comment
Share on other sites

Thanks for the reply but im not exactly sure what im looking at here with those links you provided, i know literally zilch about scripts, is there any easier to understand guides for writing what i would assume to be a basic script for something like what i need it for? and how to apply it to a spell?

 

i did some searching on the creation kit wiki but even the scripts examples i can't get my head around, and i thought HTML was hard xD

Edited by VenixHD
Link to comment
Share on other sites

I've considered this idea before but it definitely requires scripting, and although I've learned some easy scripting, my noob self is still daunted. xD I'll attempt this again someday.

 

https://www.creationkit.com/index.php?title=Complete_Example_Scripts - That page has an example Summon script which may be really useful. However, it doesn't seem to have a duration and may turn out as a permanent summon spell. Still, you can try copy-pasting that and see what happens.

 

I'm writing this from memory but, what you do is:

1. 'Add Script' to your magic effect.

2. Select 'New Script' and press 'OK'.

3. Right-click on your newly added script and select 'Edit Source'.

4. Paste the code there then compile (via File menu or Ctrl+S).

5. Double-click the script or right-click then 'Edit Properties'.

6. Select your stuff there and press 'OK'.

 

Anyway, I'll write a simpler script because, let's be honest, that script looks quite complicated. xD

 

1. Make a magic effect and select Value Modifier for the Archetype and Self for the Delivery. (I'll assume you already understand Magic Effects and Spells, including flags.)

2. Add the script I wrote below (via the method I wrote above).

3. Add the magic effect to the spell but leave the Magnitude at 0 (we're only using Value Modifier for duration) then set whatever duration you want.

 

Here's the script:

ActorBase Property mySummon auto

Event OnEffectStart(Actor Target, Actor Caster)
 Caster.placeatme(mySummon)
EndEvent

Event OnEffectFinish(Actor Target, Actor Caster)
 mySummon.disable()
 mySummon.delete()
EndEvent

*'mySummon.delete()' may not be necessary

 

In your Properties, set your ActorBase as the Actor you want to summon, like I wrote previously, then proceed as you would.

 

If this doesn't work, you'll have to wait for a more experienced scripter to help. xD Good luck! :smile:

Edited by Caerulean
Link to comment
Share on other sites

  • Recently Browsing   0 members

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