Completely disable lockon/follow features for certain units?

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
SkinnyODST
Lieutenant Colonel
Lieutenant Colonel
Posts: 545
Joined: Mon Jul 04, 2016 10:56 pm
Location: My other account
Contact:

Completely disable lockon/follow features for certain units?

Post by SkinnyODST »

Ya know when you press Q on your keyboard and it locks onto/targets an enemy unit? Do you also know how if you press F4 on an ally unit, they`ll follow you? Well is there a way to disable these features for some units by placing a bit of code into their odf, and have it enabled for others by leaving the code out?
So for example if you have a standard infantry unit and a commander unit, ONLY when playing as the commander unit can you get ally`s to follow you when you press F4 on them?
User avatar
AnthonyBF2
Sith
Sith
Posts: 1254
Joined: Wed Aug 21, 2013 3:55 pm
Projects :: PS2+PSP Overhaul

Re: Completely disable lockon/follow features for certain un

Post by AnthonyBF2 »

The F commands are hard coded.
Post Reply