Madin 10 Posted June 11, 2017 I have an aircraft that reloads at an airfield, that has a 'SpecialPowerDispatchSpecialPower', 'WeaponFireSpecialAbilityUpdate' (similar to the GDI Orca). This ability is unlocked via an 'OBJECT' upgrade. I would like for this ability to simulate reloading at an airfield (because the ability is a targeted bomb), rather then having a standard reload that occurs immediately after the ability is used (and the aircraft is still in the air). Can anyone think of a way of doing this? Share this post Link to post
Stygs 25 Posted June 11, 2017 My first idea would be using a object upgrade as GameDepency for the abillity (with a very short reload timer) and then use LUA & ModelConditionEvents to remove the upgrade during USING_SPECIAL_ABILITY and grant it again during LOCOMOTOR_TAXIING (aka "landed on an airfield"). 1 Share this post Link to post
Madin 10 Posted June 11, 2017 (edited) 2 hours ago, Stygs said: My first idea would be using a object upgrade as GameDepency for the ability (with a very short reload timer) and then use LUA & ModelConditionEvents to remove the upgrade during USING_SPECIAL_ABILITY and grant it again during LOCOMOTOR_TAXIING (aka "landed on an airfield"). I will give this a go! Seems to work good so far! thanks! Edited June 11, 2017 by Madin Share this post Link to post