Hi, so I'm creating this script, and basically, what I want to know is how do I write it so that when I put an 'if' in an OnActivate event, or rather put multiple ifs, and then make something happen, it only happens if ALL of the 'ifs' are true? Because right now, there are eight if statements, and when none of them are true, it comes up with a message box like it's supposed to, but if just one of them is true, it does the thing. But I only want it to do the thing if all eight of them are true :/ Sorry if that was really confusing.. Anyway I'll post the script here so hopefully you can understand what I mean. Thank you
Scriptname HeroAmuletActivatorScript extends ObjectReference Event OnActivate (ObjectReference akActionRef)Actor player = game.getplayer() if (amulet01.IsEnabled())(amulet02.IsEnabled())(amulet03.IsEnabled())(amulet04.IsEnabled())(amulet05.IsEnabled())(amulet06.IsEnabled())(amulet07.IsEnabled())(amulet08.IsEnabled())light1.Enable()light2.Enable()amulet09.Enable(true)sound1.Enable()elseDebug.MessageBox("You have not placed all the amulets in their slots")endifEndEvent ObjectReference Property amulet01 Auto ObjectReference Property amulet02 AutoObjectReference Property amulet03 AutoObjectReference Property amulet04 AutoObjectReference Property amulet05 AutoObjectReference Property amulet06 AutoObjectReference Property amulet07 AutoObjectReference Property amulet08 AutoObjectReference Property amulet09 AutoObjectReference Property light1 AutoObjectReference Property light2 AutoObjectReference Property sound1 Auto