Advertisement
Guest User

Untitled

a guest
Jul 28th, 2016
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. function RandomParaSpawns()
  2. t_markers = {AlliedParadrop_06, AlliedParadrop_05, AlliedParadrop_04, AlliedParadrop_03, AlliedParadrop_02, AlliedParadrop_01}
  3. Rule_ChangeInterval(Paradrops, 5) -- Use this to change the interval
  4. World_GetRand(1, 0) -- use this to get a random number
  5.  
  6. -- to get a random marker do this:
  7. local airbornespawnmarker = t_markers[World_GetRand(1, #t_markers)]; -- Gives you a random marker
  8.  
  9. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement