The Nexus Forums: Need Help With An Elevator Script - The Nexus Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Need Help With An Elevator Script Please Help Me!!!

#1 User is offline   erican_lord 

  • Enthusiast
  • PipPip
  • Group: Members
  • Posts: 100
  • Joined: 02-June 07

Posted 25 October 2009 - 07:42 PM

Ok I Am Making An Elevator And I Am trying To Explain This As Best As I Can But Here Ill Post What I Am Looking For ( its not in common language its a mix of porgrammoing language and english for better understanding) NOTE: This Is For Morrowind!! and In The Objects Section are the exact Ways To Spells Each Item Because I May Have Not Capitalized one or two inside the text.

Objects with a ** Move with the elevator
The Open/Close Settings Depend If The Door Is In High, Medium High, Medium Low, Or Low Setting

CODE
Objects:

00EVDoorOpener \
-> Elevator Door Openers (00EVDoorOpener2 is Inside the Elevator)
**00EVDoorOpener2 /


**00EVEleCMD - Switch Inside Elevator
**00EVDoorEle - Elevator Door (Needed to be closed for the elevator switch 00EVEleCMD to work)
**00EVelevator - The Elevator Hallway
**Player - No Explanation Needed

NOTE: The Elevator Moves At A Timer Because I Dont Want It To Look Like It Teleported To The Lower/Higher Level
The Timer Time Length You Can Choose For Me Cause I Dont Know A Good One.

NOTE: Coordinates For Each Object Is At The Bottom


Ok This Is How It Will Go:

Step 1 - Player Presses 00EVDoorOpener To Open/Close 00EVDoorEle

Step 2 - Player Must Close 00EVDoorEle with 00EVDoorOpener2 Before Player Can Activate 00EVEleCMD

Step 3 - After Player Presses 00EVEleCMD the ** Objects Listed Above Go Down By Positions of -256.000 Z From Their

Normal Positions (Normal Positions Are All High Positions Except For The Door Which It's Normal Position Is Its

Medium High Position)

Step 4 - To Open/Close Door While The ** Objects Are At This Position You Must Press The 00EVDoorOpener2. There Is

No Elevator Switch On The Other Side in the lower Level For A reason(when in lower level I want the door to stay in

the low position aka "open" until of course, the player closes it)

Step 5 - The Rules For The Elevator Going Up And Down Are The Same As In Step 2

If There Is Anything Else You Need Please Tell Me

The Coordinates Are Like This:

Name Of Object - Position Level (High - Low) - X, Y, Z

They Are:

Quote

00EVDoorOpener2 - High (Default) - 399.151, 510.501, -23.000
00EVDoorOpener2 - Low - 399.151, 510.501, -279.000


00EVDoorEle - High - 512.000, 390.000, 256.000
00EVDoorEle - Medium High (default) - 512.000, 390.000, 0
00EVDoorEle - Medium Low - 512.000, 390.000, -256.000
00EVDoorEle - Low - 512.000, 390.000, -512.000

(Door Open Positions Are High And Low, While The Closed Positions are the Mediums.)


00EVEleCMD - High (Default) - 514.498, 631.006, -23.000
00EVEleCMD - Low - 514.498, 631.006, -279.000

00EVelevator - High (default) - 512.000, 512.000, 0
00EVelevator - Low - 512.000, 512.000, -256.000

0

#2 User is offline   LegoManIAm94 

  • Fan
  • PipPipPip
  • Group: Members
  • Posts: 337
  • Joined: 29-October 09

Posted 01 January 2010 - 04:51 AM

Use this code

"ObjectID"->positioncell "CellName" xpos ypos zpos zrot

Use this for the elevator doors and for it to go down and up when you activate the switch.
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Skin by Skinbox
Quality & cheap IPB skins, premade vBulletin styles, cheap Web templates and more! - Skinbox