Something broke..
Posted: Thu Jun 18, 2015 8:04 pm
So I have this code
set up to allow for a flashing light I have set up to work.
I also have this one as well that has fire balls get launched out.. I think the firespawner one is breaking the other step counters in the dungeon but not sure why. If it isn't that then I have no idea whats causing it to break..
I have a total of 4 different scripts that run off that same build of code.. My guess is the local seq is what is fucking shit up even tho its set to different timers and different Entitys..
Code: Select all
step = 1
function tick()
local seq = {1,2,3,4}
findEntity ("bic_"..seq[step]).controller:start()
step = step%#seq+1
endI also have
Code: Select all
step = 1
function tick()
local seq = { 1,2,3,4,5,6,7,8,9,10,9,8,7,6,5,4,3,2 }
findEntity("firespawner_"..seq[step]).controller:activate()
step = step%#seq+1
end
I have a total of 4 different scripts that run off that same build of code.. My guess is the local seq is what is fucking shit up even tho its set to different timers and different Entitys..