Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Arena.ResizeImmediate(75, 75)
- cover = CreateProjectile("green/cover",0,0)
- fakearena = CreateProjectile("green/fakearena",0,105)
- shield = CreateProjectile("green/shield",0,105)
- bullets = {}
- damage = GetGlobal('damage')
- hitTimer = -2
- shielddir = 1
- spawnTimer = 0
- donetimes = 0
- times = math.random(20,32)
- Encounter["wavetimer"] = 500
- bulletTracking = true -- Determines weather or not the closest arrow will be red
- bulletSpeed = -- this is where I wanna put that (even tho in this case is 1 or 12, the 1 or 4 was an example)
- function Update()
- --Bullet Creation
- if times >= donetimes then
- if spawnTimer == 15 then
- bulletDirection = math.random(0,3)
- CreateBullet()
- donetimes = donetimes + 1
- spawnTimer = 0
- end
- spawnTimer = spawnTimer + 1
- end
Advertisement
Add Comment
Please, Sign In to add comment