Thread: callnpc param's
View Single Post
  #6  
Old 08-22-2001, 03:26 AM
LiquidIce00 LiquidIce00 is offline
RadioActive Monkeeh
LiquidIce00's Avatar
Join Date: Apr 2001
Location: dirty south
Posts: 2,112
LiquidIce00 is on a distinguished road
Send a message via ICQ to LiquidIce00 Send a message via AIM to LiquidIce00 Send a message via Yahoo to LiquidIce00
Quote:
Originally posted by 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));
}

thats what I thought
i hardly ever use trigger action and when I do I dont really need params
__________________
LiquidIce *Owner* (UnholyNation)
-UN Website
http://www.unholynation.com
-UN Forum
http://forums.unholynation.com
-
-the thinker
-

-
onwall2 for nonp2p (i suck at onwall)
Reply With Quote