Jump to content

Scripting (?) question


Povuholo

Recommended Posts

you could place an activator near the entrance...

short doonce

if  ( doonce == 1 )
return
endif

if  ( doonce == 0 )
   if ( getdistance player <= 512 )
       startscript "nolev.ssc"
       set doonce to 1
   endif
endif

 

this is how the character generation tutorial scripts display messages at the start of the game.

 

OR this could be used on the entrance door, the door leaving the exise office in seyda neen uses a similar code to make sure all the controls and menus are activated.

if ( OnActivate == 1 )
startscript "nolev.ssc"
endif
activate

 

either way should work, theres probably other ways but that's all i can think of at the moment.

Sorry to confuse you, i didn't think it through enough to catch the conflict with the tribunalMain script, thanks for pointing that out you marxist male without a father! :D

Link to comment
Share on other sites

modify the existing levitation restriction script (its one of the startup scripts with tribunal)

 

to this

if ( GetPCCell "Sotha Sil," == 1 )

      DisableLevitation

elseif ( GetPCCell "Mournhold" == 1 )

      DisableLevitation

elseif ( GetPCCell "YOUR CAVE CELL" == 1 )

      DisableLevitation

else

      EnableLevitation

endif

there ya go

 

this way you get no conflictions but do you see how its nested in with the rest of em?

 

thats what you need to do i would wright it for you but i dont currently have morrowind installed so cant do it all for ya but that should give you the gist of it the stuff in BOLD is the thing you should look into inserting :) have fun good luck

Link to comment
Share on other sites

Thanks kevin! The activator thing works. I hid an oar with my new script in the ground :)

 

wookie, didn't MB say it would conflict with other mods if they modified that script for their own mods too? So i don't think that would be smart to do.

 

Anyway, it's working now with the activator idea, thanks kev!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...