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.