ID:165345
 
Im making a action game and im making an random firing attack. The problem is I dont know how, can anyone tell me?
Berlin2222 wrote:
Im making a action game and im making an random firing attack. The problem is I dont know how, can anyone tell me?

If you mean you want things to go, as in move, in random directions, then you might want to look up step_rand() and walk_rand() in the DM Reference (or F1 in DreamMaker).

If you mean you simply want to change directions randomly, then look up the dir var (for atoms) and both rand() and pick().

If you have further questions after doing so, feel free to ask. :)

Hiead