Timer interaction help

Started by JudgeDeadd, Wed 10/09/2003 14:44:01

Previous topic - Next topic

JudgeDeadd

 ??? Have you played Apprentice? There is a moment there where Master needs some time to walk to the door, so you can quickly hide. I'd want to implement something similar. How to do it?
You know what they say... no... wait... you don't. What a shame.

Ishmael

First of all, descriptive subject, right?

You can do this with timers. Look in the manual. To get speech use DisplaySpeechBackground().
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

Gregjazz

Umm... Yeah, well...

I didn't use a Timer. In fact, I didn't know they existed until AFTER I scripted my own timer function.

JudgeDeadd

"to get speech"? I didn't asked about this.
You know what they say... no... wait... you don't. What a shame.

Gregjazz

He means the speech in the background. This is not irrelevant to timers. In fact, the "DisplaySpeechBackground" is quite useful.

Moresco

You can use timers for lots of things.  Check the syntax for SetTimer under Game/Global functions in the Help Contents.

Oh and DisplaySpeechBackground doesn't seem to delay anything, it returns right back to the game, so I am also confused how that is useful?? Maybe a full-example is in order. :)
::: Mastodon :::

Ishmael

I just meant that when using DisplaySpeechBackground for something like the master saying "Coming", you can start hiding allready when he says it...
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

Moresco

Ah gotcha, that cleared things up thanks.  ^^
::: Mastodon :::

SMF spam blocked by CleanTalk