Scripted Events

I would like to the community for input:

I’m wonder on what are good techniques for scripting events in a game.
So far my game has a lot of user interaction and triggered events. These have been fairly straight forward to implement.
Alternatively if i want to have a 30 second cut scene thats is “relatively” pre determined, how best to implement that?

So far i have tried coding the event with a series of method calls to manipulate the models and timers to create the delays between them.
This approach just feels a bit clunky… but it works.

I look forward to seeing the communities suggestions.

thanks
j.

I find it best to create a manipulator interface to tell the object what it’s supposed to do so that during a scripted event you switch the object’s default manipulator (typically controller input for player, AI for others) for the scripted event manipulator

For simple scripts I usually just use json and a parser. For example:

{ 
   { 'id':'Delay', 'duration':2000 },
   { 'id':'MoveTo', 'x':10, 'y':10 }
}

but for more complex things I usually use LUA or JavaScript.