The Nexus Forums: Elevator Script - The Nexus Forums

Jump to content

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

Elevator Script Can Someone Help Please!!??!!

#1 User is offline   erican_lord 

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

Post icon  Posted 26 September 2008 - 07:40 PM

OK i Have An Activate Switch Named: Act_lift_rodaso, a Daedric hall End Named: elevator_dae_in_redaso, To Get In The Elevator You Have To Walk Through A Door Called: elevator_redaso_door, and I Want It To Be The Same When You Reach The 2nd Floor. (coordinates for floor 1 = z= -256.000, x= 1024.000 y= -1536.000 // Coordinates For Floor 2 = z= 640.000 y=-1536.000 x= 1024.000 ) (floor 2 does Not Have A Door.) Could Someone Give Me A Script With This Info? If You Need Any Other Info Please Feel Free To Ask Me or If Im Not On Email Me Here. Thanks in Advance! (I really Need This Script By Sunday, Sept. 28th if You Can Answer By Then.) P.s.: Is This Easily Done With MWSE? AKA Can I Do It There and Get My Script I Need Or No?) :thanks: Again!!
0

#2 User is offline   erican_lord 

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

Post icon  Posted 26 September 2008 - 08:26 PM

I Have This Much But I Need To Know If There Is Any Problem. I am Trying To Get It Set So It's Already Down And Must Go Up, Then It Stays There Until You Press The Activation Switch Then It Goes Down to Floor 1. Please Let Me Know ASAP If It Needs To Be Changed At All. :thanks:

begin elevator_script_test

float timer
short start

if ( MenuMode == 1 )
	return
endif

if ( onactivate == 1)
	if ( start == 0 )
		PlaySound "Dwemer Door Open"
		set start to 1
	endif
	return
endif

if ( start == 0 )
	return
endif

if ( timer < 9 )
	if ( timer > 1 )
		if ( start == 1 )
			PlaySound "Door Stone Open"
			Set start to 3
		endif
	endif
	1_v1->move Z 210
	1_v2->move Z 210
	1_v3->move Z 210
	1_v4->move Z 210
	1_Vlighte->move Z 210
;above two lines open the doors.
;you may need to adjust the times or the rotate value.
;right now they open over 9 seconds to about 100 degrees.
endif

if ( timer > 10 )
	set start to 0
	set timer to 0
;after 9 more seconds, the doors are back to their original position
;reset timer and start
endif

set timer to ( timer + GetSecondsPassed )
;above line increments the timer... should be last here outside if
;statements
;otherwise bad things can happen

Endif
Next If

float timer
short start

if ( MenuMode == 1 )
	return
endif

if ( onactivate == 1)
	if ( start == 0 )
		PlaySound "Dwemer Door Open"
		set start to 1
	endif
	return
endif

if ( start == 0 )
	return
endif

if ( timer < 9 )
	if ( timer > 1 )
		if ( start == 1 )
			PlaySound "Door Stone Open"
			Set start to 2
		endif
	endif
	1_v1->move Z -210
	1_v2->move Z -210
	1_v3->move Z -210
	1_v4->move Z -210
	1_Vlighte->move Z -210
;above two lines open the doors.
;you may need to adjust the times or the rotate value.
;right now they open over 9 seconds to about 100 degrees.
endif

if ( timer > 10 )
	set start to 0
	set timer to 0
;after 9 more seconds, the doors are back to their original position
;reset timer and start
endif

set timer to ( timer + GetSecondsPassed )
;above line increments the timer... should be last here outside if
;statements
;otherwise bad things can happen
end elevator_script_test

0

#3 User is offline   erican_lord 

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

Posted 26 September 2008 - 11:07 PM

please someone help me i need it tonight very badly!!
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