Secret wall activation doesn't work

Post » Tue Aug 02, 2011 5:03 am

I want a ARSecretWall01 to open when some special items are added to the right containers. BUT IT DOES NOT OPEN! There are six items and six containers. Only when all items is in the right container the secret wall should open. I've made a script to each item and a quest script.
Here is how the items' script looks like:
scn PuzzleItemScript ; it's not the same script which is attached to all items ; this is an exampleshort AddedBegin OnAdd PuzzleContainerRef ; 1/6 set Added to 1EndBegin OnAdd Player If ( Added == 1 )  set Added to 0 endifEnd

And here is the quest script:
scn PuzzleQuestScriptshort OpenBegin GameMode If ( PuzzleItem01.Added == 1 ) && ( PuzzleItem02.Added == 1 ) && ( PuzzleItem03.Added == 1 ) && ( PuzzleItem04.Added == 1 ) && ( PuzzleItem05.Added == 1 ) && ( PuzzleItem06.Added == 1 )  If ( Open == 0 )    PuzzleSecretDoorRef.activate    set Open to 1  endif endifEnd

If anyone can tell me what I've done wrong I would be grateful.
User avatar
Janine Rose
 
Posts: 3428
Joined: Wed Feb 14, 2007 6:59 pm

Post » Tue Aug 02, 2011 1:10 am

Maybe try PuzzleSecretDoorRef.PlayGroup forward 1 ?
User avatar
LuCY sCoTT
 
Posts: 3410
Joined: Sun Feb 04, 2007 8:29 am

Post » Tue Aug 02, 2011 2:59 am

I'd suggest checking the variables for the script on the door. There may be a reset timer that hasn't expired or something like that preventing its use.
User avatar
Hilm Music
 
Posts: 3357
Joined: Wed Jun 06, 2007 9:36 pm


Return to IV - Oblivion