<aside> 📦 BARLIB.acs
</aside>
<aside> âš¡
void DrawBarColor(int cyan, int blue)
</aside>
Used to draw an ammo bar with the given palette colors. It uses the weapon’s primary ammo to determine how much of the bar to draw.
cyan
: Int - The palette color to draw within the middle of the bar.blue
: Int - The palette color to draw within the outer portion of the bar.This is a simple ScriptBar
script that uses this function to draw its bar.
script "DrawBar_SparkScatterWep" (void) {
DrawBarColor(4, 229);
}