IMGD 4100 (B 11)

Homework Assignment #6

Scripting

Due by Web Turn-In: Midnight, Sunday, November 13

(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

Grading

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