Author Topic: Event Halp  (Read 566 times)

Ok im trying to help with an rp but i dont know how to make it so... hmm lets say you click a brick 5 times then it gives you the logs,ore,exp,ect,ect PLZZ HALP


Variable events.
Whata do you mean i know how to make the logs,ore,exp,ect,ect in variables. im talking like you click a brick 5 times then it gives you the logs,ore,exp,ect,ect.

Whata do you mean i know how to make the logs,ore,exp,ect,ect in variables. im talking like you click a brick 5 times then it gives you the logs,ore,exp,ect,ect.
Assuming you have the addon...

onActivate -> addVariable -> Player or Client -> logs -> (number of logs)

For ex:

Code: [Select]
onActivate > self > addVariable > brick > chops > 1
onActivate > self > ifVariable > brick > chops > greaterEquals > 5
onVariableTrue > self > setVariable > brick > chops > 0
onVariableTrue > client > addVariable > Logs > 1
onVariableTrue > client > centerPrint > You chop down the tree!
onVariableTrue > self dissapear > 10
onVariableFalse > client > centerPrint > You chop at the tree!

What this would do is, every time that tree is clicked it adds its own 'Chops' variable. When that variable reaches 5 or greater it would set its own chops to 0, give you a variable, dissapear, and tell you you chopped down the tree. If you click the tree and it HASN'T reached 5 or greater then it would say 'You chop at the tree!'

Thanks orthone I probly wont lock this topic so ya


Damn, lost is an idiot. Talk normal, describe better, I didn't get any of that.

Damn, lost is an idiot. Talk normal, describe better, I didn't get any of that.
Sowwy

Sorry.
God damn, you just proved yourself even more of an idiot. Especially since it was a response to me telling you to talk better.

Sorry.
God damn, you just proved yourself even more of an idiot. Especially since it was a response to me telling you to talk better.
This is the help section, not drama, not off-topic.
If you aren't going to help. Get the forget out of help.
You're lucky I can't report. People get banned for the stuff you just pulled.

Oh and on top of that, he was loving misspelling it on purpose.
One last thing...
Damn, lost is an idiot. Talk normal, describe better, I didn't get any of that.
The topic was already solved. Clearly you have poor understanding if someone helped him before you even got the question.