TriggerRegisterBuildCommandEventBJ
- Parameters
-
trig trigger
unitId integer
- comment
- patch
1.32.0.13369
- Source
- Blizzard.j
- return type
event
- Source code
function TriggerRegisterBuildCommandEventBJ takes trigger trig, integer unitId returns event call TriggerRegisterCommandEvent(trig, 'ANbu', UnitId2String(unitId)) call TriggerRegisterCommandEvent(trig, 'AHbu', UnitId2String(unitId)) call TriggerRegisterCommandEvent(trig, 'AEbu', UnitId2String(unitId)) call TriggerRegisterCommandEvent(trig, 'AObu', UnitId2String(unitId)) call TriggerRegisterCommandEvent(trig, 'AUbu', UnitId2String(unitId)) return TriggerRegisterCommandEvent(trig, 'AGbu', UnitId2String(unitId)) endfunction