Posted by Spyder 208.240.196.145 using Mozilla/4.0 (compatible; MSIE 5.0; Windows 95; DigExt) on March 26, 2000 at 08:00:35:
In Reply to: Giving him a hand... posted by Martin on March 26, 2000 at 06:07:36:
Here's the program I've made and it works pretty well...
#Include("system.prg") *I don't know if it actually needs this.
#TargetLocation(x!,y!) *Finds target
#x!=x!-1 *These 2 lines position the tile correctly
#y!=y!-1
#Wav("RFHO2.wav") *Plays a sound
#Put(x!,y!,"Fire1a.gph") *These display each frame
#Put(x!,y!,"Fire1b.gph")
#Put(x!,y!,"Fire1c.gph")
#Put(x!,y!,"Fire1d.gph")
#Put(x!,y!,"Fire1e.gph")
#Put(x!,y!,"Fire1f.gph")
#Put(x!,y!,"Fire1g.gph")
#Put(x!,y!,"Fire1h.gph")
#Return()
#Run("20die.prg") *Runs my dice program for random damage
#GiveHP("target",wpn!) *gives damage to enemy/friend
#Kill(x!) *gets rid of the numbers
#Kill(y!)
#End *Ends the program
Hope that helped!
Spyder