ACR_CreatureBehavior.CreatureObject._TemporaryRangedCombat C# (CSharp) Method

_TemporaryRangedCombat() private method

This function causes Creature to switch to change to ranged weapons temporarily. It should be used when ranged combat is only a good idea for a moment, because of battlefield conditions.
private _TemporaryRangedCombat ( uint Reason, bool WaitForDeath = false ) : void
Reason uint The object we should wait to move or go away before changing back
WaitForDeath bool If set to false, the creature will wait until Reason is destroyed before switching back to melee
return void
        private void _TemporaryRangedCombat(uint Reason, bool WaitForDeath = false)
        {
            TryToAttackRanged();
        }