<aside> 📦 BARLIB.acs

</aside>

<aside> âš¡ void SetOverlayBarReverse(int owned, int capacity)

</aside>

Usage


Draws a flashing, overlay bar on the primary ammo bar which draws from the top of the bar downwards.

Parameters

<aside> 💡 Note: One way to visualize what these latter two parameters do is that they set up a ratio that equals the percentage of the bar drawn. If I own 2 HomingSniperCharge and the capacity is 4, then it sets up the ratio 2/4, meaning that 50% of the bar is drawn.

</aside>

Example


script "DrawBar_DeepDiggerWep" (void) {
	SetOverlayBar(CheckInventory("DeepDiggerFlagL"), 2);
	SetOverlayBarReverse(CheckInventory("DeepDiggerFlagR"), 2);
}

See Also


SetOverlayBar

SetOverlayBar2

SetOverlayBarReverse2

SetOverlayBarHP

SetOverlayBarReverseHP