Author Topic: Event helps (Need tutorial on something)  (Read 483 times)

Hey i was going to start making a Medieval RP type-think on my server but i was wondering, anyone know a set of events that makes it so when you click on a tree, it gives you like 1/4th of a block, and 4 hits = 1 full block for building?

Or does anyone know a script that makes it allow that?

Events Below.
Code: [Select]
OnProjectileHit > Client > CenterPrint > Hits: 1/4
OnProjectileHit > Self > ToggleEventEnabled > 0 1 2 3
OnProjectileHit > Client > CenterPrint > Hits: 2/4
OnProjectileHit > Self > ToggleEventEnabled > 2 3 4 5
OnProjectileHit > Client > CenterPrint > Hits: 3/4
OnProjectileHit > Self > ToggleEventEnabled > 4 5 6 7 8 9
OnProjectileHit > Client > CenterPrint > Hits: 4/4<br>You've cut down this tree.
OnProjectileHit > Self > ToggleEventEnabled > 6 7 8 9 0 1
OnProjectileHit > Player > AddVariable > Wood 1
OnProjectileHit > Self > Disappear > 10

Forgot something, You'll need Variable events to use that. They're located right Here.

Ok, now how do i make it so when you recieve 1 wood, it shows it? like all the wood added up. like (Total Wood: Number of wood) each time you hit it itll show you.

Ok nevermind i figured that out, i will post more threads for help though if i need it :D Time to try to make a banking system