- Joined
- Jan 9, 2005
- Messages
- 2,126
So I'm trying to increase the attack range of a unit. I see the range to 700 and the acquisition range to 400. Then, after an specific event, I call SetUnitAcquireRange(unit, 700), but the range remains 400. Does SetUnitAcquireRange() not work? I though maybe acqure range can't be set past the default, so I set it to 700 on the object editor and then reduced it to 400 when the unit was indexed, but even that didn't work. Any thoughts?
Before you ask, yes, the event is indeed firing correctly and the proper variables are being used. The unit has a ranged attack (Missile) as well. SetUnitAcquireRange() is literally the only thing that doesn't seem to be doing anything.
Before you ask, yes, the event is indeed firing correctly and the proper variables are being used. The unit has a ranged attack (Missile) as well. SetUnitAcquireRange() is literally the only thing that doesn't seem to be doing anything.