Author: DreadedEntity
Author Website:

Requirements: No addons required

Version: 9/24/2014

Short description: This script puts icons above the heads of certain units.

Date: 2014-09-24 20:38

Comments: (0)


Simple Icons


Have you ever wanted to put icons above the heads of certain units? You're in luck! Now that's possible. This has now become a 2-part release, the original script and a (supposedly) JIP compatible version.
Let me state for the record right now that I'm no good at multiplayer scripting, but that shouldn't be a problem because of the way I set up the JIP script anyway. Have fun!

Installation / Usage:
Documentation for use is contained within the script.
See the included example missions how to use this script in your own missions.

Known issues:
The only thing I'm really not happy with is the size-to-distance ratio of the player and icons. You'll see what I mean in a minute. If you think you can write a better linear equation for it, try messing around with the _iSize variable declaration. Please let me know if you find any errors, also.

You can leave P2 as "" to have no text underneath the icons.

You can make and use your own icons with the latest release!

(untested)DO NOT TERMINATE YOUR SCRIPT. It will not stop drawing the icons, actually, all it will do is make it not possible to ever stop drawing the icons because that code is contained within the script itself. The correct way to stop drawing the icons is with BIS_fnc_removeStackedEventHandler. You can then terminate the script if you wish.

All persons are free to use and modify this script to fit their needs, provided the original credit remains intact or I am credited somewhere in the modified script.

- you can now choose the icon you use for each unit. If you don't want to, the script will revert to the old way of auto-choosing based on side.

- first release

Forum topic:
- BI forums

Enable javascript to be able to download from Armaholic please!

Tags: No tags