-
1. Re: play thru
SeanWilson Nov 24, 2011 4:37 PM (in response to tyree_2)Lingo doesn't use the '+=1' construct that other languages understand, so your if statement might be reconstructed as:
tCurrentTime = member(1).model("group01").bonesplayer.currenttime if tCurrentTime < 1699 then member(1).model("group01").bonesplayer.currenttime = tCurrentTime + 1 end if -
2. Re: play thru
tyree_2 Nov 25, 2011 10:32 AM (in response to SeanWilson)thanks for that, I was unaware of lingo not using +1 partially because no error was thrown. I havent tried the code yet, but without director throwing an error I had no idea of a syntax problem
-
3. Re: play thru
tyree_2 Nov 27, 2011 11:41 AM (in response to tyree_2)I tried it and that indeed worked, but a side effect happened. I use the arrow keys to control the character position. after using the currentime code, now the arrow keys speed up the animation and cause it to play faster. no engine really supports frame by frame animation. so its not completely surprising it doesnt work properly.
for whatever reason the current time code is being triggered by the arrow keys. despite being set to the p key


