Talk:How To Create A Custom NPC Summoning Spell

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

I have tried to create a script using this formula, however it keeps telling me " Script '(null)', line 2: Script Command "000mer01" not found.

I have entered it exactly as described in this tutorial and also tried to change it up because the writer's syntax leaves much to be desired (i.e is there a period(.) between refID and moveto, or is there a space as in the Script Finish listed. I am at an impasse. Could someone perhaps give me a working script to edit?






I myself also need assistence I have no dam clue what im doing I think this article has to be redone with screen shots and all cuz i cant understand a thing and ive been at it for 13 hours trying to figure this out

PLEASE FOR THE LOVE OF GOD Re-DUE this properly

Add Pics and Step by Step and all





I have problems with this as well. I'm stuck on line nine:

         set SirenCount to 1

What exactly am I to set this to? I've tried the NPC name, his Referance ID, his Race, the spell name, and the global name, all with the Count added and removed. The script part could be written better than

"Paste this in and edit it accordingly, you should recongnize the names used."

and actually say which parts you should edit and what to edit them to.

If someone could shed some light on this, it would be greatly appreciated.

And to the first problem, this is my script:

   Scriptname SummonIsuujiMerch
   Begin ScriptEffectStart
   ;You can edit the numbers to change where it appears relative to the player.
             IsuujiMerch.moveto player 30 30 10
             playMagicShaderVisuals effectSummonMythicDawn 2
             playsound AMBThunder
   ;Activates global quest
             set SirenCount to 1
         
   End
   Begin ScriptEffectFinish
   ;This moves the NPC back to where it was.
   ;Edit the line below and change the cell name to the one your NPC was placed in.
              IsuujiMerch.moveto ICMarketDistrict01 0 0 10
   ;Deactivates global quest
               set SirenCount to 0
   End

And the first problem I encounter starts where I said it did before, at "Set SirenCount" Also, I wanted him to be in one part of the ICMarketDistrict when he is not summoned, but I don't know what the numbers should be changed to. I'm guessing the numbers are the X Y Z coordinates (Respectively), so the line would look like

              IsuujiMerch.moveto ICMarketDistrict01 32408.7363 69644.9219 3514.0000

Would that be correct? He should be in the general area of the intersection in the middle of the Market District.

  • EDIT I removed the SirenCount completely, and it seems to accept it. Now the problem starts on line 15,
              IsuujiMerch.moveto ICMarketDistrict01 32408.7363 69644.9219 3514.0000

"Invalid object reference 'ICMarketDistrict01' for parameter ObejctReferenceID" I've tried removing the '01' as well, but I get the same problem.

  • EDIT 2: Okay, I figured out the SirenCount thing. It was at the very beginning of the tutorial, it's the Global you made. I still haven't figured out how to get the 'CellNameHere' working.
  • Edit 3: Got the 'CellNameHere' part working by doing exactly what he said to do. Adding an Object from the Object window into the cell, editing the RefID. Then I put the RefID of that object into where it said to put the CellName. So CellNameHere should be something like RefIDOfIdleLocationHere.
Kaldeon 16:12, 29 April 2012 (EDT)
The MoveTo page should help you clarify things. And your conclusion is correct: MoveTo requires a Reference, not a Cell. The function to move something to a Celll is PositionCell. QQuix 21:48, 29 April 2012 (EDT)