Elec0 Posted February 12, 2012 Share Posted February 12, 2012 I can't find any documentation on looping in Papyrus on the CK wiki, which leads me to believe that looping can't happen at this point. Am I wrong? Link to comment Share on other sites More sharing options...
PaladinRider Posted February 12, 2012 Share Posted February 12, 2012 I can't find any documentation on looping in Papyrus on the CK wiki, which leads me to believe that looping can't happen at this point. Am I wrong?Looping In the old system, you could loop by setting up a series of IF statements and have them increment a counter until a certain condition (usually using that counter) was no longer true. In the new system, you can use looping statements (currently While is implemented) inside any events you want. As long as the expression following While is true, the loop will continue running. While counter <= 100 ;do something 100 times. ... counter += 1 ;Shorthand for "counter = counter + 1"EndWhilehttp://www.creationkit.com/Differences_from_Previous_Scripting#Looping Link to comment Share on other sites More sharing options...
Cipscis Posted February 13, 2012 Share Posted February 13, 2012 Also: While Statement Cipscis Link to comment Share on other sites More sharing options...
Elec0 Posted February 13, 2012 Author Share Posted February 13, 2012 Whoops, missed that.Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts