Name | Type | is_array | initial_value |
force | force | No | |
text | string | No | |
thingsToSay | string | Yes | |
unit | unit | No | |
x | integer | No |
//TESH.scrollpos=0
//TESH.alwaysfold=0
hook TransmissionFromUnitWithNameBJ msg
//TESH.scrollpos=0
//TESH.alwaysfold=0
function msg takes force toForce, unit whichUnit, string unitName, sound soundHandle, string message, integer timeType, real timeVal, boolean wait returns nothing
call DisplayTextToForce(toForce, message + " - " + GetUnitName(whichUnit))
call ClearTextMessagesBJ( toForce )
endfunction
hook TransmissionFromUnitWithNameBJ msg
//make sure the function name is the same as hook TransmissionFromUnitWithNameBJ >>X<<