...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
include("path/to/APIs/Sequence.js"); // define a sequence, probably store in in an external .js file and include() it Sequencer.define("introSequence", outputHandlerprocessor, [ "Sgt.Gibbs: Next objective is to the north. Then we'll cut eastward and rendevous with Team Two.", 50, "Sgt.Wilkes: -- Wilkes to Gibbs. You folks have got a horde of angry Scavengers headed your way from the north. --", 50, "Sgt.Gibbs: Thanks for the heads up, Sergeant. We'll be ready!" ]); // start a sequence, eg. during an event function eventGameInit() { // various init Sequencer(introSequence); // various other stuff } |
...