Replace "getPosATL" and "position" with "getPosASL" as it is 2x as fast according to https://community.bistudio.com/wiki/Code_Optimisation
Replaced multiple "vehicle _x" with variable "_vehicle" and modified "if then" statement block to terminate as soon as a match has been found. Should be overall quicker, see https://community.bistudio.com/wiki/Code_Optimisation
Get vehicle icon of vehicle the player is currently in, to be displayed on TAD. Closes #5.
Untrack "texHeaders.bin" as it is generated locally by AddonBuilder every time it is building the PBO.
_x should already be a vehicle (since we are iterating through an array of vehicles)
Adding "texHeaders.bin" (generated by AddonBuilder) to .gitignore
Remove "else" expression, _return has already been set to default.
Remove "icon_a10_ca.paa" as the TAD center icon is now retrieved from the vehicle's config instead.
Realized that the inventory checks can be done by altering the existing checks in the main loop, getting rid of a lot of statements. This should result in increased performance.
Applied recent server_init.sqf performance improvements to the same functions in player_init.sqf
Correct indentation and remove unnecessary spaces at the end of lines
Added trigger cTab_FBCB2_updatePulse trigger for #35.
Renabled server_init.sqf
Replaced main loop with cTab_fnc_update_lists function, triggered by cTab_updatePulse event from server. Closes #35.
Call cTab_fnc_update_lists in scheduled environment.
Correction of cTab_FBCB2_updatePulse comment
Prevent cTabBFTlist and cTabHcamlist from being empty unnecessarily. This is done by constructing the lists using temporary arrays and once finished, replacing the global arrays. Before the global arrays were emptied prior to construction of the lists, resulting in some units flickering on FBCB2 screens upon each update.
Addition of userconfig, to address #7. Created class cTab_settings and added vehicle arrays to address #13.
#include of userconfig, to address #7 and #13.
Have server read vehicle arrays from user config and push them to clients. Addressing #13.