Jump to content

Photo

Scripts for boss fight

sck skyrim help script

  • Please log in to reply
4 replies to this topic

#1
wilwhitt56

wilwhitt56

    Fan

  • Members
  • PipPipPip
  • 304 posts

Needing help to make two scripts for a boss fight. The first is a script for when he is at 50% health, minions spawn. The second script is when he dies, a gate opens for progression. can someone point me towards a tutorial that might specify in this type of scripting. Im sure you guys are tired of seeing me at this point.



#2
wilwhitt56

wilwhitt56

    Fan

  • Members
  • PipPipPip
  • 304 posts

anyone?



#3
youbetterwork

youbetterwork

    Fan

  • Supporter
  • PipPipPip
  • 370 posts

The Hitting the Books Quest for the Mages questline has a boss that does this. She summons backup based on the "onhit" event script attached to her. I've tried replicating it for my bosses, but have noticed the system they use is imperfect when set to things like 50% health and it kinda always goes off early. You could try tweaking this script by copying it from her.

 

Her baseid is 0004D246 in the Creation Kit as actor MG03Caller.

The script is called dunFellglowBossBattle 

 

Edit to add: The gate when the actor dies is maybe easier. You add an event for ondying that enable a door.

 

https://www.creation...OnDying_-_Actor

https://www.creation...ObjectReference


Edited by youbetterwork, 19 July 2021 - 05:06 AM.


#4
ServantOfSin

ServantOfSin

    Enthusiast

  • Supporter
  • PipPip
  • 192 posts
Yea, OnDying() to trigger the door.
DoorReference.SetOpen()

Add a perk to the boss with a condtion for <50% health that applies an ability.
Ability has a script magic effect with OnEffectStart() in ActiveMagicEffect
MinionSpell.Cast(bossRef) bossRef will be akTarget

Should do the job.

#5
youbetterwork

youbetterwork

    Fan

  • Supporter
  • PipPipPip
  • 370 posts

@servantofsin That's a really clever way to do it with a perk. That condition should be very reliable.







Also tagged with one or more of these keywords: sck, skyrim, help, script

IPB skins by Skinbox
Page loaded in: 1.112 seconds