>i want to check if the property of member's list Lroll = 1 or 0
>only 1 of 5 sprite work ??????
>on shuffle
>  repeat with w = 1 to 5
>    set x = getProp(Lroll, w)
>    if x = "1" then
>      set the membernum of sprite x to random (6)
>    end if
>  end repeat
>end
>
>i try many form of script in vain   ... need help...thank'


It looks like you are doing Yahtzee, or Poker Dice. To do it the way 
you are trying, I think you want to use getat, not getprop.


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to