wilwhitt56 Posted July 15, 2021 Share Posted July 15, 2021 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. Link to comment Share on other sites More sharing options...
wilwhitt56 Posted July 16, 2021 Author Share Posted July 16, 2021 anyone? Link to comment Share on other sites More sharing options...
youbetterwork Posted July 19, 2021 Share Posted July 19, 2021 (edited) 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.creationkit.com/index.php?title=OnDying_-_Actorhttps://www.creationkit.com/index.php?title=Enable_-_ObjectReference Edited July 19, 2021 by youbetterwork Link to comment Share on other sites More sharing options...
ServantOfSin Posted July 20, 2021 Share Posted July 20, 2021 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 ActiveMagicEffectMinionSpell.Cast(bossRef) bossRef will be akTarget Should do the job. Link to comment Share on other sites More sharing options...
youbetterwork Posted July 20, 2021 Share Posted July 20, 2021 @servantofsin That's a really clever way to do it with a perk. That condition should be very reliable. Link to comment Share on other sites More sharing options...
Recommended Posts