ID:165345
Jan 12 2007, 12:59 pm
|
|
Im making a action game and im making an random firing attack. The problem is I dont know how, can anyone tell me?
|
Copyright © 2024 BYOND Software.
All rights reserved.
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