Well, you gave me an answer.... But I don't see how it relates to my question...
... So, let me explain my question better....And I hope you will understand what I am saying if I exemplify ...
This does code does
not work:
answer as integer
if GetSpriteImageId( 23 ) = 6
answer = 1 //(yes)
else
answer = 2 //(no)
endif
Had to re-code it as follows..
this code works, but is longer and more complex:
imageID as integer // This line- had to add an additional variable which I called 'imageID'
answer as integer
imageID = GetSpriteImageID(23) // This line- had to then fill the variable 'imageID' with the image of sprite #23
if imageID = 6 // This line- had to pull the image ID # out of the variable 'ImageID'
answer = 1 //(yes)
else
answer = 2 //(no)
endif
Just saying, this re-coding should be unnecessary and adds to the length of the coding ,
By the way, I noticed there is a 'Bug Reports' forum, but for DarkBasic only. Can we have one also for AGK2? That would be better, I think.
App Game Kit is Fun