Thread: callnpc param's
View Single Post
  #5  
Old 08-22-2001, 03:21 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
Triggeraction params are like gani aparms almost. ITs all string based so if you wanted a triggeraction to hit a person for like 1 damage (Would make more sence with hitobjects though) then...
NPC Code:

triggeraction targetx,targety,hitperson,1;


and the other person must have a weapon with contains
NPC Code:

if(actionhitperson) {
hurt strtofloat(#p(0));
}

__________________

subliminal message: 1+1=3
Reply With Quote