odiusfly's Recent Forum Activity

  • Hi, i'm still looking for a solution, any help? Thanks! :)

  • Ok, thanks i will give a try!

  • Another example:

    Array1

    0=> A,2

    1=> B,2

    2=> C,1

    3=> D,1

    Array2

    0=> B

    1=> A

    2=> C

    3=> D

    2 = Value exist in different position.

    I hope make sense! :)

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Yes example will work better, to see the result.

    But in the meantime i will try it myself.

    Thanks again guys! :)

    Also please note again:

    Array 1 gives me this example:

    0 = A,1

    1 = B,2

    3 = C,2

    4 = D,3

    And if you noted, in array2 below i use in position 4 same letter as position 1. But as result, array1 give me: 4 = D,3 (3 = value not exist)

    0 = A

    1 = C

    3 = B

    4 = C

    * Of course letter "C" exist twice in array 2, but in array 1 we need it only 1. So array find first if the value = same position, otherwise find if exist to somewhere else or not exist.

    In theory make sense, but i try to find a best solution.

  • Hi, thanks for your reply!

    I know this part, but i'm stuck as i'm not looking just to compare values.

    1 = Value exist in the same position for both arrays

    2 = Value exist in different position

    3 = Value not exist at all

    Basically part 2 it's the complex part i have stuck.

    By the way thanks for your time!

  • Hello guys! I need a little help, if someone can help me! :)

    I use 2 arrays and i try to compare them.

    ARRAY 1 (4,2,1)

    ---------------

    0 = A,0

    1 = B,0

    3 = C,0

    4 = D,0

    ARRAY 2 (4,1,1)

    ---------------

    0 = A

    1 = C

    3 = B

    4 = C

    So what means?

    0 = Default

    1 = Value exist in the same position for both arrays

    2 = Value exist in different position

    3 = Value not exist at all

    So when check the example above will give us this result:

    ARRAY 1 (4,2,1)

    ---------------

    0 = A,1

    1 = B,2

    3 = C,2

    4 = D,3

    Some help please? Thank you!

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • Hello, don't hesitate to contact me via email:

    contact [at] odiusfly.com

    Thanks in advance,

    Kyriakos

    odiusfly.com

  • Hello, don't hesitate to contact me via email:

    contact [at] odiusfly.com

    Thanks in advance,

    Kyriakos

    odiusfly.com

odiusfly's avatar

odiusfly

Member since 15 Jul, 2014

Twitter
odiusfly has 6 followers

Connect with odiusfly

Trophy Case

  • 10-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

15/44
How to earn trophies