This may seem like a lot to ask, but what would be the best way to script a cinematic-type "conversation" between the player and another NPC in the level?
make some text lines in the interface.xml
then use a script to set up a timer which sets the text ,draws it - waits, hides it, sets the text to the next line, draws it etc. You might want to draw 2 black boxes to make it look like its letterboxed.
mafoo Wrote:make some text lines in the interface.xml
then use a script to set up a timer which sets the text ,draws it - waits, hides it, sets the text to the next line, draws it etc. You might want to draw 2 black boxes to make it look like its letterboxed.
That's the best way to do it now. In the future, that's probably something that will be added but it would be some indeterminate place in the future.
[>] Brian
I know how to do the text, but how do I set a timer?
obj.event.startWait(int,int); obj.event.startTimer etc (not sure if thats the exact name, have a look in the documentation)
If you look at the radar and compass tutorial it has a timer in it to update the angle of the compass. Also have a look at the joefoe scripts, they use timers and waits.