CS/IMGD 4100 (C 16)

Homework Assignment #6


Due by Web Turn-In:11:59pm, Wednesday, February 3

(See general homework instructions for turn-in details.)

The purpose of this assignment is to familiarize you with the simple use of Lua for scripting in games. You will modify the code in the ScriptedStateMachine folder to add support for global and blip states to the state machine implementation and use these new facilities to define a new behavior for the Miner character.

The new Miner behavior is frequent urination. After a fixed number of update cycles, the Miner will need to interrupt his current activity, empty his bladder, and then return to whatever he was doing before.

Here's some implementation tips:

What to Turn In


Please post any questions to the myWPI forum for the course.