Jenga Block Script | Sansar Store
Jenga Block Script

Jenga Block Script

FREE

You need to own this item to leave a rating.

0 ratings

This is a script I created for our Jenga game in 'Abras Workshop' experience. The script can be put in a Jenga Block or other object of your choice that needs to be reset into a start position via a button click or script command. When triggered by our Jenga Reset Button script (also available in store) the script will reset the block into its original position. The script also has an option to turn the gravity off for the object after it has moved. This is not very useful for Jenga, but quite fun for some other things.

The script has the following adjustable properties...

Comms Channel - This is the channel it will communicate with the button on. All blocks and the button should have the same number.

Reset Command - This is the command used. All blocks and the button should have the same command.

Dynamic - Set this to 'On' if you wish the block to be set to dynamic after the move. Please note that the blocks always turn static for the move to stop them knocking each other out of the way. If you set this to Off they will not turn back to dynamic.

DynamicSetTime - By default this is set to 1 second. This is the time before all the blocks turn dynamic. If you run into problems you can try experimenting with this. All blocks should be back close to there intended position before they try to turn dynamic.

Gravity - Set this to 'Off' if you wish the blocks to float around for whatever reason.

Item name
Jenga Block