View Single Post
  #10  
Old 10-02-2001, 07:06 AM
Xaviar Xaviar is offline
Registered User
Join Date: Aug 2001
Location: Fairyland
Posts: 463
Xaviar is on a distinguished road
Send a message via ICQ to Xaviar Send a message via AIM to Xaviar
Quote:
Originally posted by LinksReturn
I've looked at it, but i'm not sure how I would use it "triggeraction x,y,action,params; triggers a ‘if (action<action>)...’ on the objects on (x,y)"

params? O.o, and how would i apply it to the hammer
Use a triggeraction on the x/y that you use the hammer on (use testnpc first to make sure theres an npc there), then in the npc you need to recognize if its been hit by the hammer:

if (actionactionname) {
if (this.hit<insertnumhere)
this.hit++;
else {
this.hit=0;
commands to run when its been hit num times;
}
__________________
One by one, the penguins steal my sanity.

*cookie for Xaviar* --Originally posted by Tyhm

--Xaviar

A m e r i c a
Reply With Quote