ItsDeltin / Overwatch-Script-To-Workshop

Converts scripts to Overwatch workshops.
208 stars 26 forks source link

Unsure how to make an Or condition equal to false #97

Closed EnderHunterFTW closed 4 years ago

EnderHunterFTW commented 4 years ago

rule: "StandardNavHud" Event.OngoingPlayer if(And(E, HasSpawned())) if(Or(Ep, Fp)) {}

Can someone help me figure out how to make this or value equal false? (ep and fp are predetermined playervars)

ItsDeltin commented 4 years ago

Both of these should work: !Ep && !Fp !(Ep || Fp) If you want to use Or instead of || for some reason: Not(Or(Ep, Fp)) !Or(Ep, Fp)

TrueCP6 commented 4 years ago

Additionally, if you have any other questions it's best to ask them in the #highlevel-scripting channel of this discord.