Jump to content

I need a specific Script.


SemprusGalligan

Recommended Posts

Can someone give me a step by step tutorial on making a one specific event I need?

I am making a large and ambitious mod, a sequel to The Shivering Isles.

Sheogorath is to be featured, of course.

I want to make a specific event/dialogue/script where if you assault Sheogorath the player will be forced into dialogue with Sheogorath and will not have the option to back out of the conversation and will not be able to move or attack. With only the option , and Sheogorath to say one line ' Tsk Tsk. You really shouldn't have done that. ' and then the player is transported to a spawn point high up in the air, and falls to their death.

Just like in the original Shivering Isles DLC.

Link to comment
Share on other sites

I have not done anything with dialogue or quest making, but this could help get you started until somebody more experienced helps you out:

 

You could create a magic effect and attach that magic effect to an ability you give to sheogorath. You will need to place a marker where you want the player to be dropped from in game. On the magic effect, add this script event:

actor property playerREF auto
objectreference property sheogorathsMarkerOfDoom auto

Event OnHit(ObjectReference akAggressor, Form akSource, Projectile akProjectile, bool abPowerAttack, bool abSneakAttack, \
  bool abBashAttack, bool abHitBlocked)
  if akAggressor == playerREF
     game.disableplayercontrols()

     DoSheogorathDeathDialogue()
     
     playerREF.MoveTo(sheogorathsMarkerOfDoom) ;probably best to move this part to a quest script attached to your dialogue but it could work here also

     game.enableplayercontrols()
  endif
EndEvent

function DoSheogorathDeathDialogue()
   ;Either use http://www.creationkit.com/Say_-_ObjectReference
   ;or use http://www.creationkit.com/Say_(Procedure) here to get the dialogue to process
   ;i haven't done anything with dialogue so I'm not sure which is best
endFunction
Edited by FireFlickerFlak
Link to comment
Share on other sites

  • Recently Browsing   0 members

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