Blockland Forums > Modification Help
Multi-clicking a brick?
slimabob:
--- Quote from: MegaScientifical on March 08, 2011, 02:21:39 AM ---I suggested examining that code.
--- End quote ---
Sorry, you kind of lost me when you said to "examine the code". Isn't that what I am trying to figure out?
MegaScientifical:
I was thinking of onRapidActivate event. I'm pretty sure it's code would monitor clicks to know it's being hit rapidly, meaning more than once.
Edit: If I'm understanding the code correctly...:
--- Code: ---%player.activatelevel
--- End code ---
There's already an activation counter...[/s]
That's probably rapidly hitting setting... I got nothing, then. I'm sorry, slimabob.
slimabob:
It's fine. I'll figure it out.
I'm trying to make it so that when you click a brick, bottom print numbers decrease and something happens when they reach 0.
MegaScientifical:
--- Quote from: slimabob on March 08, 2011, 10:25:05 AM ---It's fine. I'll figure it out.
I'm trying to make it so that when you click a brick, bottom print numbers decrease and something happens when they reach 0.
--- End quote ---
Oh that's actually easy with events, counters. Why do you want to make it pure code?
Iban:
--- Quote from: MegaScientifical on March 08, 2011, 02:21:39 AM ---Where the hell did that come from? He said he wanted things to happen only after a certain amount of clicks, and mentioned he knows there are events that do it. So I suggested examining that code. The code you provided doesn't even work the way he wants. That's just a click counter, without resets or any help on how to do that.
Seriously though, and I'm asking this seriously, where the hell did that come from?
--- End quote ---
Your suggestion was "take the events and turn it into TorqueScript" which is like saying "take paper and make a printer."