Jump to content

Search the Community

Showing results for tags 'players'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Forum Rules
    • Announcements
    • General Discussion
    • Forum Discussion
  • Support
    • Download SCAR Divi
    • SCAR Divi Manual
    • General Help
    • Scripting Help
    • Script Help
    • Tutorials and FAQ
  • Scripts
    • Scripts For Games
    • Game Scripts
    • Other Scripts
    • Requests
  • Include Libraries
    • OSI
    • MSSL
    • GMRL
    • SSIL
    • Archive
  • Code Bin
    • Mouse & Keyboard
    • Screen & Client
    • Color, Bitmap, DTM & OCR
    • Points & Boxes
    • Files & Networking
    • Math
    • Other Snippets
  • Development
    • Development Roadmap
    • Bugtracker
    • Development Discussion
  • Games
    • RuneScape
    • Seafight
    • Other Games
  • Misc
    • Native Corner
    • Programming
    • Graphics
    • Music
    • Movies & TV

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


Location


Interests


Occupation


Studies


Skype

Found 1 result

  1. Simply put, I would like to know any easy way to find the largest value in an array of integers. More specifically... I have two arrays, players and enemies. And a third 2d array called threat. When a player attacks an enemy they get threat on the enemy. For example, Let's say player[1] attacks enemy[1] for 27 "threat." the value of threat[1][1] would be 27. Then let's say that player[2] also attacks enemy[1] but only for 20 "threat." Enemy[1] would have the most threat on player[1]. Once all of the players have had their turns, they all have varying threat on varying enemies. I want to be able to find out which player has the most threat for each individual enemy easily. I hope that is clear enough.
×
  • Create New...