Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Status: OUTBREAK!!!
#17
Do a loop.
Code:
Do Until Battle_Finished = 1

    Player HP = 0 Battle_Finished = 1

    Npc HP = 0 Battle_Finished = 1

    Player flee Battle_Finished = 1

    Something else Battle_Finished = 1

    If tmrBattleMessage < GetTickCount Then
        Blah blah attacks the NPC
        tmrBattleMessage = GetTickCount + 500 'half a second attacks?
    End If

Loop
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)