Results 1 to 3 of 3

Thread: Super Problem of DOOM PLZ HELP

  1. #1

    Thread Starter
    PowerPoster Arbiter's Avatar
    Join Date
    Sep 2000
    Location
    Manchester
    Posts
    2,276
    Well, assuming I understand what you're trying to do....

    You could try putting a block in that stops the loop if frmChooseAction is active.

    For Example, in the 'On Load'even of frmChooseAction, set a global variable to true (such as blnfrmChooseActionLoaded). When the form closes set it to false.

    In your main loop you would then have a mini loop which goes as follows...

    VB Code:
    1. while blnfrmChooseActionLoaded = true then
    2.      doevents
    3. wend

    Give that a whirl. You could also try scrapping the global variable and simply checking the .visible property of the form - but this has never been very successful for me...
    Gentile or Jew,
    O you who turn the wheel and look to windward,
    Consider Phlebas, who was once handsome and tall as you...

  2. #2
    Thanks alot for the help, I'll try it. If it doesn't work (which i doubt, i didnt know that was a property) then...ill try the other way.....and hope it works.
    Thanks again
    ~The Firemage

  3. #3
    Hyperactive Member Ambivalentiowa's Avatar
    Join Date
    Apr 2002
    Location
    Coming soon to a store near you!
    Posts
    375
    Or you could try this:

    VB Code:
    1. If Inniative = 1 Then
    2. FrmBattle.ImgTop = LoadPicture(App.Path + "/forest.bmp")
    3. FrmBattle.List1.AddItem ("You won inniative, proceed with battle..")
    4. goto 10:

    and then at the end of the repeat, do this:

    VB Code:
    1. End If
    2. 10:
    3. FrmChooseAction.Show
    4. End Sub
    -Show me on the doll where the music touched you.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width