SetActivatorToTarget Range

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
User avatar
Ichor
Posts: 1783
Joined: Wed Jul 23, 2003 9:22 pm

SetActivatorToTarget Range

Post by Ichor »

Right now, the range for the SetActivatorToTarget function is 1,024 (saw it in another thread from a few years ago). What I'm wondering is how to increase that range, if possible.
Blue Shadow
Posts: 5039
Joined: Sun Nov 14, 2010 12:59 am

Re: SetActivatorToTarget Range

Post by Blue Shadow »

Ichor wrote:What I'm wondering is how to increase that range, if possible.
With a feature suggestion. :P
User avatar
Ichor
Posts: 1783
Joined: Wed Jul 23, 2003 9:22 pm

Re: SetActivatorToTarget Range

Post by Ichor »

I didn't make a post there because I was wondering if it could be done already using something like ZScript.
User avatar
krokots
Posts: 296
Joined: Tue Jan 19, 2010 5:07 pm

Re: SetActivatorToTarget Range

Post by krokots »

Have you tried SetActivator (int tid[, pointer_selector]) ? Just put AAPTR_TARGET in there. That should do exactly the same thing as SetActivatorToTarget

Return to “Scripting”