|
Hello, I have thrown together a random spawning script, however i would like it to be a bit more complicated. At the moment i have a spawn point being chosen at random however, that the chose spawn point will only ever spawn the same object. Here is what i have so far: What I would like is to also choose the object that spawns from the spawn point randomly... Any ideas?
(comments are locked)
|
|
Try this: what's all this about 'var thisG : GameObject; var enemies : GameObject[]; var closestEnemy : GameObject;'
Apr 27 '12 at 06:41 PM
TheFrankman123
Sorry, you can delete those.. I pasted it in an old file, for editing. Some of the old stuff came along.. Are you sure you don´t want any enemies in your game :-P hehe..
Apr 27 '12 at 11:41 PM
bompi88
Haha, i have plenty of enemies but no random spawning required. Was just wondering if i was missing something.
May 02 '12 at 04:09 PM
TheFrankman123
(comments are locked)
|
