Results 1 to 3 of 3

Thread: Comparing two arrays?

  1. #1
    Join Date
    Oct 2010
    Location
    Under a bridge
    Posts
    648
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Comparing two arrays?

    Ok so i have the reflection array of ground items and an array of ID's and i want to pick up items if they are found. Is there a quicker way then

    For Ground items DO
    For ID array Do
    If ID = Ground item ID Then
    Blah


    also what would be a good max dist?

    Thanks
    ~Troll
    Quote Originally Posted by DD on IRC
    wanted to troll the troll

  2. #2
    Join Date
    Oct 2006
    Location
    Netherlands
    Posts
    3,285
    Mentioned
    105 Post(s)
    Quoted
    494 Post(s)

    Default

    For Ground items DO
    If InIntArray(IDArray,Ground item ID) Then
    Blah
    Working on: Tithe Farmer

  3. #3
    Join Date
    Oct 2010
    Location
    Under a bridge
    Posts
    648
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Ok thanks
    Quote Originally Posted by DD on IRC
    wanted to troll the troll

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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