Borrow unload jass

Level 11
Joined
Jul 28, 2024
Messages
340
Can you help me with jass to unload a burrow.
I run this and i see "unload"
message on the screen

Code:
if currentLife < GetUnitState(defender, UNIT_STATE_MAX_LIFE) * 0.7 then
  call bj("unload")
  call IssueImmediateOrder(defender, "unload")    
  call IssueImmediateOrder(defender, "unloadall")
  call UnitRemoveAbility(defender, 'Abtl')
endif

but peons dont get unloaded...
 
Back
Top