LordSerathDarklands Posted April 15, 2017 Share Posted April 15, 2017 Need a little help writing a script for an impossible to defeat monster. If this isn't the place for this kind of request, I apologize. The idea for the creature is that the player HAS to run from it. What I'd like the script on the creature to do is, once the creature is killed, the body instantly disappears (ideally before the player can activate the corpse), and two more of the same creature spawn in (the same creature, so that if the new creatures are killed, they also spawn two more each, and so on). This way, the player can't legitimately defeat the creature, and (without cheats, anyway) is forced to flee. I'll be teleporting the player into the end of a long room, perhaps having to navigate a long maze of traps while being pursued by this unstoppable monster, and the only escape is to get the the exit on the far side of the room. As a side note, I also need help scripting music to play that will override the normal combat music. Thanks in advance. Link to comment Share on other sites More sharing options...
Dragon32 Posted April 16, 2017 Share Posted April 16, 2017 Sounds like the Bloodmoon Spriggan, maybe worth a look at that critter? Link to comment Share on other sites More sharing options...
LordSerathDarklands Posted April 16, 2017 Author Share Posted April 16, 2017 Sounds like the Bloodmoon Spriggan, maybe worth a look at that critter? Well, I don't know ANYTHING about scripting, but it looks like the spriggan's script simply makes the thing recover three times (which is what it does in-game). I need it to double each time. I'm not sure how to manipulate the script in the slightest. I've tried looking at scripting tutorials, and I just can't get my head around them. Link to comment Share on other sites More sharing options...
Dragon32 Posted April 16, 2017 Share Posted April 16, 2017 I'd say (quickly as they're about to close and move to bethesda.net) post over on the Morrowind Construction Set forum over on Bethsoft, very few modders actually post here. Hell, very few people post here, full stop. Link to comment Share on other sites More sharing options...
svengineer99 Posted April 18, 2017 Share Posted April 18, 2017 I think you could try the following script attached to the creature: begin LSD_monster_doublng float timer if ( timer < 0.0 ) set timer to ( timer + getsecondspassed ) if ( timer > 0.0 ) set timer to 0.0 setdelete 1 endif endif if ( getdisabled ) return endif if ( ondeath ) placeatme monster_id 1 100 0 placeatme monster_id 1 200 0 disable set timer to -1.0 endif end Link to comment Share on other sites More sharing options...
LordSerathDarklands Posted April 21, 2017 Author Share Posted April 21, 2017 (edited) I think you could try the following script attached to the creature: begin LSD_monster_doublng float timer if ( timer < 0.0 ) set timer to ( timer + getsecondspassed ) if ( timer > 0.0 ) set timer to 0.0 setdelete 1 endif endif if ( getdisabled ) return endif if ( ondeath ) placeatme monster_id 1 100 0 placeatme monster_id 1 200 0 disable set timer to -1.0 endif end The script works! Thank you so much! I tried it on a Bonelord, and sure enough, every time you kill it, it doubles when it dies. I'm going to try it on a variety of other monsters, to see how it responds. Edited April 21, 2017 by LordSerathDarklands Link to comment Share on other sites More sharing options...
svengineer99 Posted April 22, 2017 Share Posted April 22, 2017 The script works! Thank you so much! I tried it on a Bonelord, and sure enough, every time you kill it, it doubles when it dies. I'm going to try it on a variety of other monsters, to see how it responds. Glad to hear it! I will look forward to seeing how it fins in to your project. Link to comment Share on other sites More sharing options...
Recommended Posts