• Welcome to TodayPlus Boards v2.
 

Small fix in satellite/radar

Started by uk_skinner, November 26, 2004, 11:48:11 AM

Previous topic - Next topic

uk_skinner

Wichtel:

 In region,7,7, the var51 has to be examined beofre the image is drawed.  Otherwise, the TP will try to find 11.png or 0.png..


 original codes:
   image,%var3%,%var23%,%var51%.png
   image,%var3%,%var23%,%var51%.jpg
   image,%var3%,%var23%,%var51%.gif
   
               if,var,var51,,=,11
      storevar,var51=1
   else
   endif

   if,var,var51,,=,0
      storevar,var51=10
   else
   endif

Chang to:

               if,var,var51,,=,11
      storevar,var51=1
   else
   endif

   if,var,var51,,=,0
      storevar,var51=10
   else
   endif


   image,%var3%,%var23%,%var51%.png
   image,%var3%,%var23%,%var51%.jpg
   image,%var3%,%var23%,%var51%.gif

grayme

Is it me, but I can't see the difference.  :think:

uk_skinner

Quote from: graymeIs it me, but I can't see the difference.  :think:

Sorry, right now it is the color.  The original codes Blue-->Red, the chnaged one Red-->Blue.

grayme

Quote from: uk_skinner
Quote from: graymeIs it me, but I can't see the difference.  :think:

Sorry, right now it is the color.  The original codes Blue-->Red, the chnaged one Red-->Blue.

Ah, so it was the order of the code rather than the code itself; I spent so long looking for the difference in the red text, I missed that!  :)

Wichtel

Greetings Wichtel 
 

miwi-media.com | Web & Screendesign