Hello, everyone I just wanted to see I could get some help with a problem.
I have enemies that are referencing an Instance Variable as to what their action should be. Example: Action: 1 = Punch, Action: 2 = Kick Etc.
however, currently actions are chosen at random, what I would rather is have a list 1,2,3,4,5 this way I can restrict actions for varied enemies like 2,2,2,1 this enemy will mostly kick but sometimes punch.
My problem is that when I create a variable to control what actions can be picked it must be a text format to allow for multiple numbers but I then can't set the numerical actions to pick as they clash.
I hope this makes sense other wise
I want Instance Variable Actions to be set to a number in Instance Variable Available_Actions, where Available_Actions = 1,2,3,4