View Single Post
Old 01 June 2016, 23:46   #5
Mrs Beanbag
Glastonbridge Software
 
Mrs Beanbag's Avatar
 
Join Date: Jan 2012
Location: Edinburgh/Scotland
Posts: 2,243
think about the order these commands execute in.

in the first example the line "Amal 1..." never gets executed because the loop is looping forever.

in the second example the line "bob 1, SX, SY, GUY" only gets called before the start of the loop, so when SX is changed it doesn't update the bob's position to the new SX.

tbh i wouldn't mix AMAL with normal AMOS programming, it can only lead to confusion. Personally i never found AMAL very useful for in-game animation.
Mrs Beanbag is offline  
 
Page generated in 0.06180 seconds with 11 queries