nope, that don't work. Because if I write
if scancode()=0 then loop object player, chillstart#,chillend#
then it wil start looping the animation 60 times per second (depends on fps). So I realy should have a code like
if object playing (player)=0
loop object player, chillstart#,chillend#
endif
but that don't work either because [object playing (player] return a 1, because he is already walking, because of the walk cycle.
So I wish I could have a code like
DO
if spacekey()=1
make great game,1
import all models "kjetils/models.x",1
append all animation "kjetils/models.x",1
gosub _playgame
endif
Loop
_playgame:
play game 1
now, that would work.
but seriusly, I need that animation code to work, anyone?
- Kjetil