"if x <> 1" for unequal also does not work
"if x >< 1" for unequal also does not work
how is the "if not" or unequal statement?
If !x ;Read as: If X is NOT True;It's true, so do thisElse;It's false, so do thisEndIf
if !(Game.GetPlayer().HasSpell(MyCoolSpell)) ;The player doesn't have my cool spell... I think I might cry!
If Quest1.IsCompleted() SomeObjectReference.Enable()EndIfInverted:
If !Quest1.IsCompleted() SomeObjectReference.Disable()EndIfTwo-way hinge:
If Quest1.IsCompleted() != SomeObjectReference.IsEnabled() If SomeObjectReference.IsEnabled() SomeObjectReference.Disable() Else SomeObjectReference.Enable() EndIfEndIf
Quest Property dunHunterQST AutoObjectReference Property Item Auto
If dunHunterQST.IsCompleted() Item.Enable()Endif
If !(dunHunterQST.IsCompleted());It's not completed...Endif
If MyQuest.IsCompleted() == 1;do stuffThat would do stuff if it was completed, and if it was anything but completed (i.e. not completed), it wouldn't do anything. You don't even need to have the '== 1' since that's the default check, as JustinOther posted. You only need to use != when there can be multiple things, and you can have anything but one of them.
very very helpful.If !Quest1.IsCompleted() ElseIf Quest2.IsCompleted() SomeObject.Enable() EndIf
If Quest1.IsCompleted() If Quest2.IsCompleted() SomeObject.Enable() EndIf EndIf
If Quest1.IsCompleted() && Quest2.IsCompleted() ; && is more expensive than the above SomeObject.Enable() EndIfEndIf
If !Quest1.IsCompleted() ElseIf Quest2.IsCompleted() SomeObject.Enable() EndIf
If Quest1.IsCompleted() If Quest2.IsCompleted() SomeObject.Enable() EndIf EndIf
If Quest1.IsCompleted() && Quest2.IsCompleted() ; && is more expensive than the above SomeObject.Enable() EndIfEndIf




Scriptname aaaShrineEnable1 extends ObjectReference Quest Property aaaQuest1 Auto Quest Property aaaQuest2 Auto If !aaaQuest1.IsCompleted() ElseIf aaaQuest2.IsCompleted() aaaShrine1.Enable() EndIf







I've added a thank you to the bottom of my mod description, to show the world and his sandwich what jolly smashingly good chaps you are!