So, I'm making a monster that spawns a secondary actor transfering its own pointers to this actor, and then such actor calls Thing_ProjectileIntercept. As the intention was to make the actor aim at the monster's current target, my 'intuitive' first try was:
Code: Select all
TNT1 A 1 Thing_ProjectileIntercept (0,1544,240,AAPTR_TARGET,0)
However, because projectiles use "target" pointer to get the monster tat shoots then, it tried to hit the monster itself. I took a look here but I could not get if actually there is way to expose the monster's target to Thing_ProjectileIntercept.
If I manage to arbitrary change player's TID to a number, and set this number to the code line, it works just fine. However, the map must have coop support with different TIDs. It also must be "Zscript-free" because of Zandronum compatibility, and... requirements of the dev team.
Is there a way to get it DECORATE side? I'm guessing I could use ACS and ACS ExecuteWithResult to get it, but I'd preffer to keep it DECORATE only, if possible.
Thanks in advance!
