What I need help with is giving the enemy the moves it has and be able to use it in a battle against a usr.
It's turn based and so far I have it so the usr can attack and after the damage is done it waits for the enemy.
I know I have to make a list of moves for it to choose from.. but the list[] thing I don't get. Can someone please help?
ID:155591
May 14 2011, 9:11 pm
|
|
In response to Pirion
|
|
Doesn't seem to work.. it says the pick statement has no effect..
|
In response to Kidman90
|
|
You want to assign the return value to a varible so it can be used later.
|
In response to Pirion
|
|
Does this work?:
mob/proc/RandomAttack() You can run the RandomAttack() var for your enemy everytime their turn comes. |
Used like so: