Basically for example at 500 lp the room will have fireballs fall down from the ceiling above, now if you are on your second or third try of the boss you would have figured out the pattern of which they fall and where. I want to make it so when it triggers to fall from the ceiling they will launch down in a different order by using a random check and based on that check activate a particular spawner.
This part I'm able to get down pretty easy using this script
Code: Select all
function setatta()
local h = 1
local r = math.random()
if r < 0.3 then
spawner_9.controller:activate()
elseif r < 0.6 then
spawner_10.controller:activate()
else
spawner_11.controller:activate()
end
end
So yea just looking for some feedback and help on it, do you think it could work using that code or would another one be better to use?