Jump to content

Multiple conditions on IF sequence?


Recommended Posts

If (PlayerRef.GetLevel() >=2) && If (PlayerRef.HasPerk(Armorer01) == False
PlayerRef.AddPerk(Armorer01, False)
EndIf

Doesn't work. Says

C:\Users\Robert\AppData\Local\Temp\PapyrusTemp\AddPerksOnLevelUp.psc(133,33): no viable alternative at input 'If'
C:\Users\Robert\AppData\Local\Temp\PapyrusTemp\AddPerksOnLevelUp.psc(133,74): missing RPAREN at '\\r\\n'

What is the correct way to have a multi-conditional IF?

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...