Page 1 of 1

Change HUD Icon via LUA

Posted: Sat Jul 05, 2014 10:05 am
by Anakin
Hi,

i tryed this line:
SetProperty("tur_weap_hoth_dishturret", "HUDTag", "hud_rc_laser") < I want to change the HUD Icon from the stock turrets on stock hoth.

in the ScriptPostLoad() function. But it does not change the HUD icon. Someone an idea why and how to fix it??

Re: Change HUD Icon via LUA

Posted: Sat Jul 05, 2014 10:27 am
by AQT
You can't use SetClassProperty or SetProperty with a weapon unless it has its own REQ file.

Re: Change HUD Icon via LUA

Posted: Sat Jul 05, 2014 12:15 pm
by Anakin
Is there an other way to do this via lua?? If not i'll do it via hud file