Jump to content

DOWNLOAD MODS

Are you looking for something shiny for your load order? We have many exclusive mods and resources you won't find anywhere else. Start your search now...

LEARN MODDING

Ready to try your hand at making your own mod creations? Visit the Enclave, the original ES/FO modding school, and learn the tricks of the trade from veteran modders...

JOIN THE ALLIANCE

Membership is free and registering unlocks image galleries, project hosting, live chat, unlimited downloads, & more...

Search the Community

Showing results for tags 'combo lock'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Community Boards
    • About TESA
    • TESA Community
  • Hosted Boards
    • The Enclave
    • Hosted Projects
  • Gaming Boards
    • The Elder Scrolls
    • Fallout
    • Indie Games
  • RPG Boards
    • Roleplaying

Categories

  • Showcase
    • Skyrim
    • Fallout
    • Oblivion
    • Misc
  • Exclusives
    • Skyrim
    • Fallout
    • Oblivion
    • Morrowind
    • Misc
  • Community Works
    • Skyrim
    • Oblivion
    • Fallout
    • Misc
    • Student Projects

Categories

  • ESV: Skyrim Modding
    • Creation Kit Basics
    • Level Design
    • Character Design
    • Papyrus
    • Quest Design & Dialogue
    • Graphic Artistry
    • 3D Craftworks
  • ESIV: Oblivion Modding
    • Construction Set Basics
    • Worldbuilding
    • NPCs & Radiant AI
    • Scripting
    • Questbuilding & Dialogue
    • Story & Lore
    • Texturing
    • Modeling
    • Miscellaneous
  • ESIII: Morrowind Modding
    • Tool Set Basics
    • Worldbuilding
    • NPCs
    • Scripting
    • Questbuilding
    • Texturing
    • Modeling
  • Fallout 3 Modding
    • GECK Basics
    • Worldbuilding
    • NPCs & Radiant AI
    • Scripting
    • Questbuilding & Dialogue
    • Texturing
    • Modeling
  • Gaming Guides
    • Oblivion Gaming
    • Morrowind Gaming
    • Fallout 3 Gaming
  • Miscellaneous Tutorials
  • TES Alliance HowTo Guides

Product Groups

  • VIP Memberships
  • Subscriptions

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Steam


XBox Live ID


MSN


Skype


Location


Interests

Found 1 result

  1. I have this script that I'm working on and require 3 different numbers, and cannot have a duplicate number such as 4,6,4. How would I check for the duplicate number and force it to choose another number? Part of my script below... (Left out parts that are not required for this question) Auto State Initialize Event OnInit() ;Randomize and Select 3 buttons for the button combo if MyRunCheck1 == 0 int MyRandNum1 = RandomInt(1, 9) if MyRandNum1 == 9 RandNum09 = True ElseIf MyRandNum1 == 8 RandNum08 = True ElseIf MyRandNum1 == 7 RandNum07 = True ElseIf MyRandNum1 == 6 RandNum06 = True ElseIf MyRandNum1 == 5 RandNum05 == True ElseIf MyRandNum1 == 4 RandNum04 == True ElseIf MyRandNum1 == 3 RandNum03 == True ElseIf MyRandNum1 == 2 RandNum02 == True ElseIf MyRandNum1 == 1 RandNum01 == True EndIf Notification("My 1st Number Picked is: " + MyRandNum1) MyRunCheck1 + 1 EndIf if MyRunCheck2 == 0 int MyRandNum2 = RandomInt(1, 9) if MyRandNum2 == 9 RandNum09 = True ElseIf MyRandNum2 == 8 RandNum08 = True ElseIf MyRandNum2 == 7 RandNum07 = True ElseIf MyRandNum2 == 6 RandNum06 = True ElseIf MyRandNum2 == 5 RandNum05 == True ElseIf MyRandNum2 == 4 RandNum04 == True ElseIf MyRandNum2 == 3 RandNum03 == True ElseIf MyRandNum2 == 2 RandNum02 == True ElseIf MyRandNum2 == 1 RandNum01 == True EndIf Notification("My 2nd Number Picked is: " + MyRandNum2) MyRunCheck2 + 1 EndIf if MyRunCheck3 == 0 int MyRandNum3 = RandomInt(1, 9) if MyRandNum3 == 9 RandNum09 = True ElseIf MyRandNum3 == 8 RandNum08 = True ElseIf MyRandNum3 == 7 RandNum07 = True ElseIf MyRandNum3 == 6 RandNum06 = True ElseIf MyRandNum3 == 5 RandNum05 == True ElseIf MyRandNum3 == 4 RandNum04 == True ElseIf MyRandNum3 == 3 RandNum03 == True ElseIf MyRandNum3 == 2 RandNum02 == True ElseIf MyRandNum3 == 1 RandNum01 == True EndIf Notification("My 3rd Number Picked is: " + MyRandNum3) MyRunCheck3 + 1 EndIf ;Need a fail-safe incase of a duplicate number. Duplicate Numbers are/could be BAD!!! ;if MyRandNum1 == MyRandNum2 || MyRandNum1 == MyRandNum3 ;|| MyRandNum2 == MyRandNum1 || MyRandNum2 == MyRandNum3 || MyRandNum3 == MyRandNum1 || MyRandNum3 == MyRandNum2 ;Notification("A number was matching with another") ;Else ;Notification("No Matching Numbers!") ;EndIf if RandNum01 == True HintObject01.Enable() EndIf if RandNum02 == True HintObject02.Enable() EndIf if RandNum03 == True HintObject03.Enable() EndIf if RandNum04 == True HintObject04.Enable() EndIf if RandNum05 == True HintObject05.Enable() EndIf if RandNum06 == True HintObject06.Enable() EndIf if RandNum07 == True HintObject07.Enable() EndIf if RandNum08 == True HintObject08.Enable() EndIf if RandNum09 == True HintObject09.Enable() EndIf Wait(3.0) ;Give 3 seconds to ensure that all HintObjects and other stuff has been completed. GoToState("Waiting") EndEvent EndState
×
×
  • Create New...