idle

Started by , Tue 07/10/2003 02:38:49

Previous topic - Next topic

Gav

Hello.

I want to change the time interval to make my characters idle, and the help file says to use: SetCharacterIdle (CHARID, int idleview, int delay)

in the script.

This is all well, except i dont know where to put it into the script, or what function heading to use.

Can someone please help me with this?

Thanks,
Gav

taryuu

in the idle animations view page,
main tree - views - view(whatever view is your idle)

you could change the delay for the frame by clicking underneath where it says  SPD:0

and then setting the delay there.  does that help?
I like having low self-esteem.  It makes me feel special.
   
taryuu?

Gav

are we using the same program (agsedit) ?  I'm afraid that the idle animation view page is completely foreign to me and i can't find it, or any mention of it, at all.

any other suggestions anyone?

Gilbert

There's only one editor for AGS (unless you're talking about Roommake and Roomedit in REAL old versions), there should be a "Views" page accesible by clicking on the appropiate option on the left tree panel of it.

Gav

ah yes yes...i misunderstood that it seems.

but does that actually speed up the amount of seconds i have to be idle before the idle animation starts? i dont think it does, i think its for changing how long each frame plays for.

the default time until idle starts is 20 seconds and i want to set it at about 6.  how can i change this?

Gilbert

In that case, just use that SetCharacterIdle () function in WHERE you want the change.

For example, if you want it to change to one specific value in the WHOLE game, just put it in the gamestart() function.

Ishmael

Took time to find out what was originally asked, or didt taryuu just confuse you? ;D

In the Global Script there's a function called game_start(). Place it there ;)
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.

Gav

ok thanks, that's working good now.

SMF spam blocked by CleanTalk