PDA

View Full Version : damage trigger on player



malyczolg
16th November 2013, 23:09
how add for this damage , if another player shot at trigger self death ?

self.damagetrig=spawn("trigger_radius",self.origin+(0,0,50),0,5,5);
self.damagetrig linkto(self);

IzNoGoD
17th November 2013, 00:11
how add for this damage , if another player shot at trigger self death ?

http://static4.fjcdn.com/comments/Somebody+call+the+sWAT+team+someone+just+broke+the +law+_ee96a5b72089d1478b85c02ec7d1451b.jpg
http://s3.amazonaws.com/rapgenius/my-mind-is-full-of-fuck.jpg

Tally
17th November 2013, 10:06
how add for this damage , if another player shot at trigger self death ?

self.damagetrig=spawn("trigger_radius",self.origin+(0,0,50),0,5,5);
self.damagetrig linkto(self);

You cannot use Linkto() with a trigger, even if you use enableLinkto(). It incurs this error:


******* script runtime error *******
entity (classname: 'trigger_radius') does not currently support linkTo: (file 'demon/_globallogic.gsc', line 9)
self.damagetrig linkto(self);