Complete Example Scripts: Difference between revisions
Jump to navigation
Jump to search
m
→Good Usage of Properties to Make Scripts Compact
imported>Threedee |
imported>Threedee |
||
| Line 393: | Line 393: | ||
index = 0 | index = 0 | ||
if | if player == game.getplayer() | ||
while | while index < objAr.length ; note that you use ".length" not ".getlength" to get the size of arrays | ||
curObj = objAr[index] | curObj = objAr[index] | ||
curObj.setAlpha(alpha) | curObj.setAlpha(alpha) | ||