Complete Example Scripts: Difference between revisions

Jump to navigation Jump to search
m
imported>Threedee
imported>Threedee
Line 393: Line 393:


index = 0
index = 0
if(player == game.getplayer())
if player == game.getplayer()
while(index < (objAr.length))
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)
Anonymous user

Navigation menu