Page 1 of 1

frame trouble

PostPosted: Sat Aug 02, 2008 6:44 pm
by iconmaster
how do you use the frame variable ? in animations? in strings?

Re: frame trouble

PostPosted: Sat Aug 02, 2008 9:00 pm
by feral
frame is a read-only integer type variable ( I am not sure if it is a long or double or what type of integer)

from script reference
frame: Game frame count. This variable is global and read only
.


It counts the number of frames your game has gone through.

ie: starts at zero when the game starts and adds 1 every time the screen is redrawn

It can be used for counters/timers etc