Hey folks - first time posting in here. Just finished up the course that finishes on Mars Marine. Learnt a lot!
Was playing around with it after I’d wrapped up the last lesson, and wanted to try and make the Aliens spawn at a random scale - which to my own surprise I managed! Woop.
However. The bigger guys can’t actually get close enough to the marine to hit him so they just sort of run up to him and stand there looking like they’re after a treat or something.
I solved it by increasing the attack range - but then that makes the little guys able to hit you from half way across the map. Tried to set the attack range per spawn but I don’t believe my code is working for that.
Found a balance with a random multiplier of x2 and an overall attack range of 200 - but it’d be nice to know if there’s a solution - having even bigger spiders able to attack while also having small spiders still need to run up to you to hit you.
I’ve uploaded the working code for the random scale, and what I had for changing the attack range per spawn. Obviously both Set Attack Range pins were plugged into the Add node. It worked in as much as it changed it, but I realised this will change the overall Attack Range variable for all spiders, as opposed to assigning each spawn and individual attack range.
Apologies for the mess of the code and that likely sub-par explanation! Any thoughts appreciated