Scene won't start

Post » Wed Jan 02, 2013 9:10 am

Hello everyone (and a happy new year!),

I'm having trouble with setting up a scene. I want the scene to start once the player approaches the actors, and I placed a triggerbox near them which starts the quest the scene is part of. (And thus sets it tot he starting stage of 5). A few paces further I placed a triggerbox that is supposed to start the scene. However, nothing happens whenever the player enters this triggerbox. I tried everything I could think of, from recording empty voice-files to setting up a proper starting condition (GetStage Quest == 5), but the scene just doesn't trigger. What am I doing wrong?

Spoiler
Scriptname _00E_StartSceneTrigger extends ObjectReference
{This script can be placed on any trigger to start a scene property.
}


int DoOnce

Event OnTriggerEnter(ObjectReference akActionRef)
if(akActionRef == Game.GetPlayer())
if ( DoOnce == 0 )
;Debug.Notification(".")
SceneToStart.Start()
DoOnce = 1
endif
endif

if ScenetoStart.IsPlaying()
Debug.Notification("Scene wurde gestartet.")
endif


EndEvent
Scene Property SceneToStart Auto

PS: The Debug.Notification doesn't show up neither.

Thanks in advance,

Latiro
User avatar
Javaun Thompson
 
Posts: 3397
Joined: Fri Sep 21, 2007 10:28 am

Return to V - Skyrim