Thread: Item help
View Single Post
Old 10-11-2006, 02:37 PM   #6
Chuckle_Brother
Oh for the sake of fudge
 
Chuckle_Brother's Avatar


Respected User
 
Join Date: Dec 2005
Posts: 782

Submissions (2)

Chuckle_Brother will become famous soon enough (53)Chuckle_Brother will become famous soon enough (53)

Send a message via ICQ to Chuckle_Brother Send a message via AIM to Chuckle_Brother Send a message via MSN to Chuckle_Brother Send a message via Yahoo to Chuckle_Brother
Default

Before I can really answer that....what is firing off this code? Currently its a map init or un-fired trigger that sits inert.

Also, using a BJ loop is silly, replace bj_forLoopAIndex and bj_forLoopAIndexEnd with locals:

Collapse JASS:
local integer i = 1

loop
  exitwhen i > 2  //Replace 2 with however many times you want the loop to fire
    // **Your code goes here** //
  set i = i + 1
endloop
__________________
"...you play a mean banjo"
Chuckle_Brother is offline   Reply With Quote