# Randomising?

**URL:** <https://forum.kirupa.com/t/randomising/240790>\
**Category:** flash\
**Created:** [October 6, 2007, 5:17am UTC](https://forum.kirupa.com/t/randomising/240790 "2007-10-06T05:17:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![stillbeating](https://avatars.discourse-cdn.com/v4/letter/s/c57346/32.png) [@stillbeating](https://forum.kirupa.com/u/stillbeating)\
**Post date:** [October 6, 2007, 5:17am UTC](https://forum.kirupa.com/t/randomising/240790/1 "2007-10-06T05:17:22Z")

</div>

hi everyone!  
I’m making a little tower defence game but i’ve run into a problem;  
I need a code to randomise my enemies (like in which direction they come from, and how many come)  
your help would be greatly appreciated, and I’ll put you/your site in the credits of the game (if you want)

(no, i dont know about attachMovie or duplicateMovieClip)  
thanks.
