Project

General

Profile

Bug #2191

Energy weapon range update delay when switching ammos.

Added by smokemonkey over 2 years ago. Updated over 2 years ago.

Status:
Feedback Required
Priority:
Normal
Assignee:
Category:
annoyance
vbulletin_issue_id:

Description

code example:

if ${This.Charge(exists)} && ${This.Charge.Type.Equal[${shortRangeAmmo}]}

        {

            ; Memorize the short range ammo range.

            ;   _shortRangeAmmoRange:Set[${Utility.Max[${_shortRangeAmmoRange}, ${This.Range}]}]

        }

 

Even after the current ammo is already switched from long to short, there is a short period of time that the turret range still returns the long ammo range, so I cached the wrong range for short range ammo.

Also available in: Atom PDF