Brendon123123 Posted May 11, 2010 Share Posted May 11, 2010 Hey all. I'm working on a rather large mod, with 4 custom dungeons which all will be gone through in sequence as part of a huge quest, with a great reward at the end. I'm in the making of the last dungeon, and I could use some help with scripting, and some scripting with other parts as well. I've done some basic stuff, traps, tripwires, doors close once you go through em, etc, but if someone could make this script for me that would be great, as I'm not too sure how. Pretty much, you walk into a small stone room in the final dungeon, and there will be a ghost of the main character of the quest-line, and there is a sword there behind him, but you cannot pick it up until you kill this shade, because the sword is locked behind a gate, and I don't want people to be able to press the button until they've killed it. Also, the sword is cursed, sort of like Frostmourne from WoW, so a permanent curse, (burden, less health) will be put on you so long as you wear it. If someone could post the text for such a script in here that would be great, thanks in advance :turned: Link to comment Share on other sites More sharing options...
xXShaddowTXx Posted May 11, 2010 Share Posted May 11, 2010 This is the kind of requests I was talking about in this thread I just made: http://thenexusforums.com/index.php?showtopic=202892 really ithink my thread would be cool and save space.....but that is OT so here is something...\ I think that if you were to go into the arena the door back doesn't allow you to open untill you kill your opponent so I think that you should look at the scripts in there adn se what causes it and maby you can use that script... Link to comment Share on other sites More sharing options...
David Brasher Posted May 11, 2010 Share Posted May 11, 2010 SCN AADaButtonDontWorkSCRIPT ; Object script applied to button that controls the door blocking ; the player from getting to the sword. Begin On Activate If GetStage AADaGhostyIsDeadQUEST >= 10 Activate Else Message "This button won't work yet." EndIf End SCN AADaGhostyDoneDiedSCRIPT ; Object script applied to the ghost Begin OnDeath SetStage AADaGhostyIsDeadQUEST 10 End SCN AADisSwordDragsDaBodyDownSCRIPT ; Object script applied to the sword Begin OnAdd Player.AddSpell AADaCursedDevilSwordABILITY End Begin OnDrop Player.RemoveSpell AADaCursedDevilSwordABILITY End I am sure there are problems with these scripts. There always are. Link to comment Share on other sites More sharing options...
Brendon123123 Posted May 12, 2010 Author Share Posted May 12, 2010 SCN AADaButtonDontWorkSCRIPT ; Object script applied to button that controls the door blocking ; the player from getting to the sword. Begin On Activate If GetStage AADaGhostyIsDeadQUEST >= 10 Activate Else Message "This button won't work yet." EndIf End SCN AADaGhostyDoneDiedSCRIPT ; Object script applied to the ghost Begin OnDeath SetStage AADaGhostyIsDeadQUEST 10 End SCN AADisSwordDragsDaBodyDownSCRIPT ; Object script applied to the sword Begin OnAdd Player.AddSpell AADaCursedDevilSwordABILITY End Begin OnDrop Player.RemoveSpell AADaCursedDevilSwordABILITY End I am sure there are problems with these scripts. There always are. Hey thanks! :D Kudos. I made a couple changes and they work fine. Props man :thumbsup: Link to comment Share on other sites More sharing options...
Recommended Posts