tonewheelz Posted July 4, 2012 Share Posted July 4, 2012 (edited) Hi all, I was hoping someone could help me get this script working the way I want it to. I am trying to use a summon spell to teleport a follower to my location. Currently, it spawns a duplicate of my follower. I want to teleport the main NPC. Here is the script I am using: Scriptname SummonFang extends ActiveMagicEffect ACTORBASE PROPERTY FangType AUTO OBJECTREFERENCE Fang EVENT onEffectStart(ACTOR akTarget, ACTOR akCaster) Fang = game.getPlayer().placeAtMe(FangType) endEVENT EVENT onEffectFinish(ACTOR akTarget, ACTOR akCaster) Fang.disableNoWait() endEVENT Edited July 4, 2012 by drrusa Link to comment Share on other sites More sharing options...
JanusForbeare Posted July 4, 2012 Share Posted July 4, 2012 (edited) There are a couple of problems here. The main one is that you're declaring an actorbase (ie. actor base object) as the property that's being summoned, rather than a specific actor. This is why you're getting a duplicate. Simply replace "actorbase" with "actor" in line 3 and reset the property's reference and you should be fine. The other issue is that you're using placeatme() instead of moveto(), which is used for creating additional references of a base object, not moving an existing one. You can always download and rip the script I use in Call Housecarls, or use it as a reference. Edited July 4, 2012 by JanusForbeare Link to comment Share on other sites More sharing options...
tonewheelz Posted July 4, 2012 Author Share Posted July 4, 2012 There are a couple of problems here. The main one is that you're declaring an actorbase (ie. actor base object) as the property that's being summoned, rather than a specific actor. This is why you're getting a duplicate. Simply replace "actorbase" with "actor" in line 3 and reset the property's reference and you should be fine. The other issue is that you're using placeatme() instead of moveto(), which is used for creating additional references of a base object, not moving an existing one. You can always download and rip the script I use in Call Housecarls, or use it as a reference. Thank you so much for the guidance. I downloaded the Call Housecarls mod, but I am unable to view the script because I don't have the source. Is there another way to view the script in creation kit?? Link to comment Share on other sites More sharing options...
tonewheelz Posted July 4, 2012 Author Share Posted July 4, 2012 I used your Atvir mod for reference and it works perfectly. The Atvir mod looks awesome!! I miss these kinds of follower mods from Oblivion. Can't wait to try it out!!! Thank you again! Link to comment Share on other sites More sharing options...
JanusForbeare Posted July 4, 2012 Share Posted July 4, 2012 No problem, glad you got it working! Link to comment Share on other sites More sharing options...
Recommended Posts