Mystic Software Forums
Mystic Software => General Discussion => Topic started by: jon on January 17, 2006, 07:10:43 PM
-
How do you use sourcelocation with an item or setimage.
eg image w/e.jpg
or item w/e.itm
-
Sourcelocation() is for enemies or players in the default battle system. So say your enemy had a cure move. The end of your cure program might look something like this:
sourceLocation(x!, y!)
animation("cure.anm", x! - 32, y! - 32)
Or if you're using a still image:
sourceLocation(x!, y!)
savescreen()
setimagetransparent("cure.gif",x! - 32 , y! - 32, 64, 64, 255, 255, 255)
wav("cure.wav")
delay(1)
restorescreen()