Question by
phantomunboxing · Jun 05, 2016 at 03:37 PM ·
instantiateenemyspawning-enemies
"IndexOutOfRangeException" randomly spawning enemy events
Here is the full script: http://pastebin.com/m4EA10ee Here is a smaller version that does the exact same thing: http://pastebin.com/A56wHVq7 Error line 44 and every line that has "GameObject enemy = Instantiate(enemies[variable]) as GameObject;"
Comment
Your answer
Follow this Question
Related Questions
Difficulty parameter not correctly affecting spawn rate on button click 1 Answer
How to instantiate the whole object with script attached to it ? 0 Answers
Infinite instantiation w/ for loop? Please help! 1 Answer
How can I change scene or Quit game after killing all the spawned enemies? 1 Answer
how to make enemy shoot one only time !! 2 Answers