Forum

> > Stranded II > Scripts > Running a script every frame
ForenübersichtStranded II-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Running a script every frame

1 Antwort
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Running a script every frame

archmage
User Off Offline

Zitieren
How can I run a script every frame?

Edit:
Nevermind.
1
2
3
4
5
6
7
on:start {
	timer "self", 1, 0
}

on:timer {
	do stuff
}
1× editiert, zuletzt 28.05.11 03:21:28

alt Re: Running a script every frame

Hurri04
Super User Off Offline

Zitieren
I don't know what you need this for but I can tell you that such a script most probably would cause major lags since the timer runs 1000 times a second in this script while the normal framerate in Stranded 2 is at about 30 fps.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtStranded II-ÜbersichtForenübersicht