Intro to 3D Game Development

0 of 193 lessons complete (0%)

Scripting Part 3: Finishing the Game Loop

Testing: Step on the Dig Spot to Activate the Chest

You don’t have access to this lesson

Please register or sign in to access the course content.

You should now be able to walk up to your Dig Spot and make the chest rise up and open. Note: The chest will be in the wrong place for now! We’ll fix it in the next step.

Debugging

If the chest doesn’t move at all, here are some things you can check:

  • Make sure Chest-Bottom is selected in the Entity panel for the DigSpotScript
  • Double check that the sendEvent function has the exact name of the function in ChestScript that makes it start its animation. The easiest way to make sure is to copy and paste!