Leadwerks Game Engine

Leadwerks Game Engine

Not enough ratings
Status Bar
   
Award
Favorite
Favorited
Unfavorite
Type: Script
File Size
Posted
7.273 KB
19 Nov, 2016 @ 6:14am
1 Change Note ( view )

Subscribe to download
Status Bar

Description
A status bar that features a visual representation of the player health, stamina, and ammo. Included is a modified player script that adds a stamina factor that decreases when sprinting and regenerates while walking. For the results shown in the sample image, add a pivot as a child of the player with the StatusBar FPSPlayer Script and the autopistol equipped. Attach the Status Bar script to the pivot and define the color values: Text-white, Health-R150, Stamina-G150, and Ammo-B150. I hope you find this script useful!

**Note the status bar script will not work unless you use it with the included player script and have a weapon with an ammo factor equipped.
1 Comments
76561198040362588 30 Dec, 2016 @ 6:57am 
Very interesting! How can this be implemented into your game?