Rising Sarcophagus?

Post » Thu Jun 21, 2012 2:39 am

Hello, I have been attempting to use an activator trap object (the platforms that crush you with spikes) for a different purpose. I have the rising of the platform within part of my level, however, I wanted a sarcophagus to rise with it. I tried using the same scripts as the activator platform, and setting the lever as the ParentObject, but it won't budge. Is this because it is a static? Is there anyway to get this sarcophagus to rise as if it was on the platform?
User avatar
brian adkins
 
Posts: 3452
Joined: Mon Oct 01, 2007 8:51 am

Post » Thu Jun 21, 2012 1:01 am

Bump ><
User avatar
Bird
 
Posts: 3492
Joined: Fri Nov 30, 2007 12:45 am

Post » Wed Jun 20, 2012 11:23 pm

Here...give this a try:

Spoiler

Scriptname YourScriptName extends ObjectReference

Event OnLoad()

TranslateTo(X, Y, Z + Height, GetAngleX(), GetAngleY(), GetAngleZ(), 100)

EndEvent
Event OnTranslationAlmostComplete()
StopTranslation()
EndEvent

HEIGHT is an integer to the number of units it will rise (example: z + 500). It is triggered when loaded or by an activate trigger.

You can play with it to make it better and stuff but that should get you started.

If you need more info let me know...or someone else might chime in.

I hope it works :smile:
User avatar
Sarah Unwin
 
Posts: 3413
Joined: Tue Aug 01, 2006 10:31 pm

Post » Thu Jun 21, 2012 4:42 am

Here...give this a try:

Spoiler

Scriptname YourScriptName extends ObjectReference

Event OnLoad()

TranslateTo(X, Y, Z + Height, GetAngleX(), GetAngleY(), GetAngleZ(), 100)

EndEvent
Event OnTranslationAlmostComplete()
StopTranslation()
EndEvent

HEIGHT is an integer to the number of units it will rise (example: z + 500). It is triggered when loaded or by an activate trigger.

You can play with it to make it better and stuff but that should get you started.

If you need more info let me know...or someone else might chime in.

I hope it works :smile:

Oh wow, thank you :biggrin:. I will give this a try tonight when I get out of my classes.
User avatar
Yung Prince
 
Posts: 3373
Joined: Thu Oct 11, 2007 10:45 pm

Post » Wed Jun 20, 2012 1:09 pm

Oh wow, thank you :biggrin:. I will give this a try tonight when I get out of my classes.

Thank the fine folks here at gamesas forums who gave it to me.

There's some great people who volunteer their time on these forums.

Cheers!
User avatar
Juliet
 
Posts: 3440
Joined: Fri Jun 23, 2006 12:49 pm


Return to V - Skyrim