Help with aa activator script please

Post » Wed Feb 20, 2013 4:40 pm

It's probably because I'm exhausted and probably should be cluttering or something mindless, but I can't get this script to compile. I think it might have to do with the Return after the Else.

What I need is this is a script I placed on an activator. if it's activated and my quest is at stage 40 it should play scene01. If it's activated and my quest is stage 80 it should play scene02. Otherwise, if it is activated, and it it not either one of those stages, it simply needs to do nothing.

 Scriptname BalokBedScript extends ObjectReferenceQuest Property BalokBitterWounds autoScene Property BalokScene01 autoScene Property BalokScene02 autoEvent OnActivate(ObjectReference akActionRef)	If  BalokBitterWounds.GetCurrentStageID() == 40   	 BalokScene01.Start()	ElseIf   	 BalokBitterWounds.GetCurrentStageID() == 80   	 BalokScene02.Start()		Else   	 Return	EndIf	EndEvent 
User avatar
Lauren Graves
 
Posts: 3343
Joined: Fri Aug 04, 2006 6:03 pm

Return to V - Skyrim