Posted by TK 194.215.65.2 using Mozilla/4.0 (compatible; MSIE 4.0; Windows NT) on March 23, 2000 at 04:06:26:
I finally made it: succesful program which changes attack animation and sounds when different weapons are equipped! Heres how to do it:
When you have saved this program go to to item editor and change "program to run when item is equipped like "AnotherWE.prg" for example
#If (playerhandle[0-4]$="Player") *Checks players handle in slot*
{
#Removeplayer("Player.tem") *Removes player from team*
#Restoreplayer("Player2.tem") *Replaces Player1 Player2 has different weapon animations and sounds. Player2 gets all stats and stuff Player1 had.*
#End*to prevent it checking other characters*
}
To removeweapon
#Removeplayer("Player2.tem")
#Restoreplayer("Player.tem")