securitywyrm Posted July 27, 2017 Share Posted July 27, 2017 If (PlayerRef.GetLevel() >=2) && If (PlayerRef.HasPerk(Armorer01) == False PlayerRef.AddPerk(Armorer01, False) EndIfDoesn'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 More sharing options...
Reneer Posted July 27, 2017 Share Posted July 27, 2017 You don't need that extra IF in your code. If (PlayerRef.GetLevel() >= 2 && PlayerRef.HasPerk(Armorer01) == False) PlayerRef.AddPerk(Armorer01, False) EndIf Link to comment Share on other sites More sharing options...
securitywyrm Posted July 27, 2017 Author Share Posted July 27, 2017 It works!... I think... time to test! Link to comment Share on other sites More sharing options...
Recommended Posts