Lui_Cypher Posted October 2, 2007 Share Posted October 2, 2007 Well. I tried to post this elsewhere but this is the only forum I am allowed to post in. Could someone help me with a script for summoning? I have retexured and scripted a new creature and I would like to create a scripted spell for summoning it. I was wondering if anyone had any idea what the script needed is? Many Thanks. Link to comment Share on other sites More sharing options...
Abramul Posted October 2, 2007 Share Posted October 2, 2007 I used a similar script in my Summonable Merchant mod.scn AbraMerchantSummonScript begin ScriptEffectStart AbraRogerMerchantREF.moveto player end begin ScriptEffectFinish AbraRogerMerchantREF.moveto AbraMerchantHoldingCellDoor AbraRogerMerchantREF.resurrect 0 end As you're using a presumably nonessential critter, I've added a commented* resurrect. Pretty sure this resets an entity's stats even if they're still alive. Also, you can include the following in the script on the creature:begin OnDeath player.dispelMySummonSpell endThis should cause the ScriptEffectFinish block to trigger when it dies. You'll need a holding cell with a persistent named reference in it. I used a door for whatever reason. * ';' breaks the tabs. Link to comment Share on other sites More sharing options...
Lui_Cypher Posted October 3, 2007 Author Share Posted October 3, 2007 Hmm, everytime I type the code in it fails on line four saying it cannot use a creature but it needs a value. For example: scn RatBombSummonScript begin ScriptEffectStart CreatureRatBombREF.moveto player ;fails hereend begin ScriptEffectFinish CreatureRatBombREF.moveto RatBombHoldingCellDoor CreatureRatBombREF.resurrect 0end does this code look ok or am I missing something? (I have created the holding cell, I had a look at yours to see what was needed) Link to comment Share on other sites More sharing options...
Abramul Posted October 3, 2007 Share Posted October 3, 2007 Three things I can think of: 1) You didn't place an instance of the creature in game2) You didn't give said instance a unique Reference Editor ID3) You didn't mark it as persistent I'm guessing on the third. I assumed you had already done this, and you know what they say about assumptions. Link to comment Share on other sites More sharing options...
Lui_Cypher Posted October 8, 2007 Author Share Posted October 8, 2007 Sorry about the long reply. Ive been making a housing mod at the same time. I have done all that you have said but for some reason it still doesnt work. The spell casts but nothing appears. Anything else you can think of? Much Appreciated. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.