Author Topic: [Event] Continuous Activate  (Read 4224 times)

I made an event that allows a player to click and hold to repeatedly activate a set brick.



Download: http://leopard.hosting/dl/zushu/Event_CActivate.zip


-Suggested Use-

Simple: (Click and Hold to repeat, no delay)
   [X]0 0 onActivate > SpawnProjectile
   [X]1 0 onActivate > Self > cActivate 100

Advanced: (Click and Hold to repeat, includes delay before it starts repeating)
   [X]0 0 onActivate > Self > cancelEvents
   [X]1 0 onActivate > Self > setColorFX > "Glow"
   [X]2 50 onActivate > Self > setColorFX > "None"
   [X]3 0 onActivate > Self > cActivate > [300]
   [X]4 0 onActivate > Self > setEventEnabled > [6 7 8] [X]
   [X]5 0 onActivate > Self > setEventEnabled > [3 4 5] [ ]
   [ ]6 0 onActivate > Self > cActivate > [100]
   [ ]7 150 onActivate > Self > setEventEnabled > [3 4 5] [X]
   [ ]8 150 onActivate > Self > setEventEnabled > [6 7 8] [ ]
   [X]9 350 onActivate > Self > setEventEnabled > [3 4 5] [X]
   [X]10 350 onActivate > Self > setEventEnabled > [6 7 8] [X]
« Last Edit: November 11, 2017, 03:59:31 PM by Tendon »


why is the gif colorless


Does this event replace onActivate? OP suggests it does but it had better not.

Does this event replace onActivate? OP suggests it does but it had better not.
It doesn't even modify onActivate, when you hold your mouse down it continues a schedule when you activate the cActivate - soon as you let go the schedule cancels

It doesn't even modify onActivate, when you hold your mouse down it continues a schedule when you activate the cActivate - soon as you let go the schedule cancels

Ooooohhh. Thanks Kyuande.

Very useful. Thanks for this!

Oh man, I'd recommend to not add this on a freebuild server or it will turn into a spamfest.

Oh man, I'd recommend to not add this on a freebuild server or it will turn into a spamfest.

Pong... pong everywhere

Oh man, I'd recommend to not add this on a freebuild server or it will turn into a spamfest.

Couldn't people just use onRelay though?

Edit: Added quote, sry
« Last Edit: November 14, 2017, 06:15:14 PM by ArmyUnit »



Couldn't people just use onRelay though?
I haven't used it but if I understand correctly this only fires if they're still holding the button down. AFAIK there's no way to check for that with onRelay

I haven't used it but if I understand correctly this only fires if they're still holding the button down. AFAIK there's no way to check for that with onRelay
you could if you used vce in a relay but this add-on definitely does simplify that