TheNazizombie Posted June 23, 2010 Share Posted June 23, 2010 Hello people of the TESNexus forums(the best place for Oblivion mods), I need help making a script for a door to be opened, you get a message box, cast a spell on you, and then teleport you to another location. If any one would like to help by posting a script for this, or telling me how to script this, I would be greatful ^.^ I am new to scripting in Oblivion, though I have made some decent mods, just never scripted any thing. The spell cast, and the teleport location can be any thing, just leave me a not to where they are. Any help would be appreciated, and your name will be put on the credits! Link to comment Share on other sites More sharing options...
TheNazizombie Posted June 23, 2010 Author Share Posted June 23, 2010 Late Night selfless bump! Link to comment Share on other sites More sharing options...
ub3rman123 Posted June 23, 2010 Share Posted June 23, 2010 Before I type anything out, can you be more specific as to what you mean? When the player activates a door it'll cast something on them and move them elsewhere? Link to comment Share on other sites More sharing options...
David Brasher Posted June 23, 2010 Share Posted June 23, 2010 I think you need to be a bit more specific as to the design parameters of the desired script. I find myself unable to parse the clauses. Here is my shot in the dark: SCN AAFoggySpecSCRIPT ; Object script applied to a door. Begin Onactivate MessageBox "Die foolish mortal!" Cast StandardFireDamageTarget5Master Player Player.MoveTo AAScaryXMarkerHeadingInCustomOblivionWorldspace. End Link to comment Share on other sites More sharing options...
TheNazizombie Posted June 24, 2010 Author Share Posted June 24, 2010 Ok, Here what I need in the order if this helps any one.1. The player Activates the door2. A message box Apears saying something, and there are two options3. If the player hits "yes", a spell will be cast on them(lets say an area fireball spell for this), and they will be teleported to somewhere(lets say The Market District for this)4. If the player hits "no", nothing happens. if you want any thing more specific, I could post some of the code I already have, and you could check it.Thanks Again to the people who helped and people who are going to help! Link to comment Share on other sites More sharing options...
TheNazizombie Posted June 24, 2010 Author Share Posted June 24, 2010 Selfless bump again! Link to comment Share on other sites More sharing options...
ub3rman123 Posted June 24, 2010 Share Posted June 24, 2010 That's specific enough. Scn SCRIPT Short Button Begin OnActivate Player.messageBox "Saying Something", "Yes", "No" set button to GetButtonPressed end begin gamemode if button == 0 cast SPELL player player.moveto PLACE set button to -15 elseif button == 1 return set button to -15 endif end Link to comment Share on other sites More sharing options...
TheNazizombie Posted July 4, 2010 Author Share Posted July 4, 2010 That's specific enough. Scn SCRIPT Short Button Begin OnActivate Player.messageBox "Saying Something", "Yes", "No" set button to GetButtonPressed end begin gamemode if button == 0 cast SPELL player player.moveto PLACE set button to -15 elseif button == 1 return set button to -15 endif end Muchas Gracias!!! sorry for taking a while to get back to you, but I was woking on the building =) Link to comment Share on other sites More sharing options...
Recommended Posts