Thread: ReplaceGani
View Single Post
  #3  
Old 06-30-2001, 03:35 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
The torch script is like this:

NPC Code:

if (created)
setshape 1,32,32;
if (playertouchsme)
toweapons Torch;
if (weaponfired) {
replaceani idle,torch_idle;
replaceani walk,torch_walk;
}



May be you have mixed some stuff with the weapons
(?). The 'replaceani' must be called on the clientside,
so only in weapons script, or in normal npcs with
a //#CLIENTSIDE line