is there any way to pass a parameter to a new object?
fangang191
Member Posts: 4
is there any way to pass a parameter to a new object? so i can make every new object(actor) different .
Comments
The way I would solve this is to use the Constrain Attribute behavior on each enemy, so that it saves their position in a variable.
Then, with each tower, watch for when the value of those variables become "in range" of wherever your tower is, and if it is, fire at it!
Good luck!