Disable Ability During Runtime

UncleFesterson

New member
Hi,
I have an issue where a UCC AI character spins around in its seat extremely fast when riding in an RCC car. I have pinpointed it down to the Nav Mesh Agent Movement ability causing this since disabling it before running the game makes the AI character function as intended (even though that ability does not appear as active at all unless the AI walks around). The problem is I need the Nav Mesh Agent Movement ability for the AI so it can walk around when not in a vehicle. So I basically need a way to untick the “Enabled“ box for that ability whenever the Drive ability is active.... And if possible, without the use of scripting (like with a state or event, etc.).

Thanks,
Alec
 
You can use the state system for this. Create a preset that uses the Enabled property when the drive ability is active and that'll disable the ability.
 
Top