Hey, how are you guys doing today. All is well I hope. Listen, I’m new to creating functions, so - I created a function that spawns three cobras’, and it worked as advertised. But now I am left wondering if there’s something I’m missing. wondering if I’m approaching this the proper way?
You guys show me how it’s done…
I changed a few things here and there, mostly I defined sTAG to not calculate it twice, I removed the double calculation of lLoc and removed the subroutine as I wouldn’t deem it necessary.
But overall, it should work mostly the same, the biggest difference is the output of lLOC, in my case it’s where the the PC has used the object, in your script it’s the location of the first PC, which might or might not be the same character…