View Single Post
  #2  
Unread 07-16-2006, 04:09 AM
Landiin Landiin is offline
Slayer of clock cycles
This person is a EQ2Map developer.
Featured
 
Join Date: Nov 2004
Server: Oasis
Posts: 3,464
Default

if dd<10 then sourcerect="0,0,20,30"

ONWhatever="image.Sourcerect=(ddCheck ? 0,0,10,10 : 0,0,20,20) ddCheck=dd<10"

if dd<20 && dd>10 then sourcerect="20,0,40,30"

OnWhatever="Image.Sourcerect=(ddCheck ? 0,0,10,10 : 0,0,20,20) ddCheck=(dd1 && dd2) dd1=dd<20 dd2=dd>10"

Keep in mind that eq2 executes script top to bottom, right to left. I didnt' test this but it should work.
__________________
Landiin's EQ2MAP Updater Discussion Download
Reply With Quote