Author Topic: Relay Pain Events  (Read 1274 times)

Bump. Sorry for triple post. dammit But as my above post is there a way that once you activate it the player can only activate the evnts once?So the damge doesn't multiply up?

snaily, your events are flawed, you need to put in more variable checks
[numberedevent][delay]input>target>output[parameters]
  • [0]playertouch>self>vce_ifvariable [roar][==][5][1 3]
  • [1][0]onvariablefalse>client>VCE_variable
[roar][set][5]
[2][0]onvariablefalse>self>decrementprintcount[9]
[3][0]onvariablefalse>self>decrementprintcount[1]
[4][0]onprintcountunderflow>self>VCE_ifvalue[<var:cl:BL_ID>][!=][-15][5]
[5][0]onvariabletrue>player>addhealth[-10]
[6][10000]onprintcountunderflow>self>decrementprintcount[9]
[7][10000]onprintcountunderflow>self>decrementprintcount[1]

-snip-

So these evnts will do the following?: 1.Every 10 seconds -10 health from player.And the player can only activate these events once so the damage doesn't multiply?

I don't know what happened but it doesn't work.I might have messed somthing up due to [Roar] ??? and one event was next to another and wasnt below it.(In your text) so could you give me a pic of the event box ingame?

I don't know what happened but it doesn't work.I might have messed somthing up due to [Roar] ??? and one event was next to another and wasnt below it.(In your text) so could you give me a pic of the event box ingame?
sure, but the roar was just a name, you can replace roar with phquack with no difference
working on the screen shot

sorry, i need to sleep tonight, i'll get the picture tomarrow
snaily, your events are flawed, you need to put in more variable checks
Code: [Select]
[numberedevent][delay]input>target>output[parameters]
[0][0]playertouch>self>vce_ifvariable [roar][==][5][1 3]
[1][0]onvariablefalse>client>VCE_variable[roar][set][5]
[2][0]onvariablefalse>self>decrementprintcount[9]
[3][0]onvariablefalse>self>decrementprintcount[1]
[4][0]onprintcountunderflow>self>VCE_ifvalue[<var:cl:BL_ID>][!=][-15][5]
[5][0]onvariabletrue>player>addhealth[-10]
[6][10000]onprintcountunderflow>self>decrementprintcount[9]
[7][10000]onprintcountunderflow>self>decrementprintcount[1]
and aha, making it code fixed it, now look at it

OK thanks.So what in roar do I just leave it blank?

(Where the hell is the edit button?)
Ok anyways whats with [set]? A picture would still help since I'd be able to see what that it and where I put it becuase of the output events.


and you don't need to leave anything blank
and for some reason my post got cut off, i don't feal like redoing the whole thing

Thank you so much phlack it works.You really know your events ;). Now if I encounter any bugs.(Doubt I will) I will re-open the topic.For now it is LOCKED.