animating an object

Started by , Thu 30/10/2003 17:11:20

Previous topic - Next topic

urgrue

heres a bit of my script:
 // script for room: Player enters screen (after fadein)
 
if (GetGlobalInt(4) == 1) {
// left candle is on
 SetObjectTransparency(0,100);
 SetObjectView(0,14);
 SetObjectTransparency(2,0);
 DisplaySpeech(EGO,"This is just a test.");
etc
etc

ego says "this is just a test" so it must be working. object 0 is a candle's flame, view 14 is it animated.
however, i dont see it animated, just the static sprite.

any ideas?

Alynn

AnimateObject
or
AnimateObjectEx

Should do it for you

Ishmael

You should post the entire script so we could say if there's something wrong... or did you write "etc" on the last two lines of 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.

urgrue

laf, no, the etc just meant <and the script goes on>.
im a newbie but im not that bad ;)

anyway it works now, after i added AnimateObject. I thought SetObjectView was enough, I was wrong...

thanks

SMF spam blocked by CleanTalk