Hi. I know this question has been asked a lot because I've found a lot of topics from searching but none seem to havea n effective/definitive way to do it.
I need to get rid of all the default order icons (attack, stop, move, patrol, hold) because I really don't need any of them.
I've tried one method found in a previous topic which was to grab the orderID and remove the ability but it doesnt work:
There was one topic which described breifly about a method which involves importing custom .txt files which alter the path/destination of the icons but didn't explain enough for me to replicate it.
Does anyone have further info and/or a sure-fire way to get rid of them?
Thanks
EDIT: I also tried:
BOOHOO doesn't work
I need to get rid of all the default order icons (attack, stop, move, patrol, hold) because I really don't need any of them.
I've tried one method found in a previous topic which was to grab the orderID and remove the ability but it doesnt work:
JASS:
function Trig_RmvDefaultIcons_Actions takes nothing returns nothing
local unit u = gg_unit_Hpal_0000
call UnitRemoveAbility (u, 851972) //stop
call UnitRemoveAbility (u, 851993) //hold
call UnitRemoveAbility (u, 851983) //attack
call UnitRemoveAbility (u, 851971) //move
call UnitRemoveAbility (u, 851990) //patrol
endfunction
There was one topic which described breifly about a method which involves importing custom .txt files which alter the path/destination of the icons but didn't explain enough for me to replicate it.
Does anyone have further info and/or a sure-fire way to get rid of them?
Thanks
EDIT: I also tried:
JASS:
function Trig_RmvDefaultIcons_Actions takes nothing returns nothing
local unit u = gg_unit_Hpal_0000
local player p = Player(0)
call SetPlayerAbilityAvailable (p, 851972, false) //stop
call SetPlayerAbilityAvailable (p, 851993, false) //hold
call SetPlayerAbilityAvailable (p, 851983, false) //attack
call SetPlayerAbilityAvailable (p, 851971, false) //move
call SetPlayerAbilityAvailable (p, 851990, false) //patrol
endfunction
Last edited: