Currently Posted January 29, 2013 Group: Members Topic Count: 162 Topics Per Day: 0.03 Content Count: 313 Reputation: 1 Joined: 01/22/12 Last Seen: November 17, 2023 Share Posted January 29, 2013 Will it be possible for an NPC to randomize A-Z letters in maximum amount of 30 letters? Then, the player will hunt have to type that random letters? Quote Link to comment Share on other sites More sharing options...
goddameit Posted January 29, 2013 Group: Members Topic Count: 60 Topics Per Day: 0.01 Content Count: 562 Reputation: 219 Joined: 11/22/11 Last Seen: August 3, 2024 Share Posted January 29, 2013 setarray .@ww$,"A","B","C", ... , "Z"; loop <-- make it do 30 times { set .@www$,.@www$+.@ww$[rand(26)]; } Quote Link to comment Share on other sites More sharing options...
Currently Posted January 29, 2013 Group: Members Topic Count: 162 Topics Per Day: 0.03 Content Count: 313 Reputation: 1 Joined: 01/22/12 Last Seen: November 17, 2023 Author Share Posted January 29, 2013 by "loop" do you mean i copy-paste this part "setarray .@ww$,"A","B","C", ... , "Z";" 30 times? setarray .@ww$,"A","B","C", ... , "Z"; setarray .@ww$,"A","B","C", ... , "Z"; setarray .@ww$,"A","B","C", ... , "Z"; all the way down to 30? sorry kinda confuse. or am i suppose to just copy paste your script? Quote Link to comment Share on other sites More sharing options...
goddameit Posted January 29, 2013 Group: Members Topic Count: 60 Topics Per Day: 0.01 Content Count: 562 Reputation: 219 Joined: 11/22/11 Last Seen: August 3, 2024 Share Posted January 29, 2013 refer Array#Array_Variables Loops Quote Link to comment Share on other sites More sharing options...
Currently Posted January 29, 2013 Group: Members Topic Count: 162 Topics Per Day: 0.03 Content Count: 313 Reputation: 1 Joined: 01/22/12 Last Seen: November 17, 2023 Author Share Posted January 29, 2013 Quite not sure which specific loop Quote Link to comment Share on other sites More sharing options...
Emistry Posted January 29, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10017 Reputation: 2369 Joined: 10/28/11 Last Seen: 12 hours ago Share Posted January 29, 2013 http://pastebin.com/raw.php?i=UxDi37kU 1 Quote Link to comment Share on other sites More sharing options...
Question
Currently
Will it be possible for an NPC to randomize A-Z letters in maximum amount of 30 letters?
Then, the player will hunt have to type that random letters?
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.