Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal

few "find dtms' in one line, is it possible?

Recommended Posts

something like:




if finddtm(DTMgray,grayx,grayy,1002, 111,1002, 111) and finddtm(DTMpurple,purplex,purpley,1002, 111,1002, 111) and finddtm(DTMpaleblue,palebluex,palebluey,1002, 111,1002, 111) then








is it possible? if so, how?

Share this post

Link to post
Share on other sites

The same way you did it, but enclose the 3 statements in parentheses:


if (finddtm(DTMgray,grayx,grayy,1002, 111,1002, 111)) and (finddtm(DTMpurple,purplex,purpley,1002, 111,1002, 111)) and (finddtm(DTMpaleblue,palebluex,palebluey,1002, 111,1002, 111)) then


//do something here




Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...