Members of the state guard when assigned to state military duty by the commander in chief, or when ordered to active state service pursuant to §58-1-106, shall be paid from the funds appropriated, or otherwise legally made available to the military department, at the rate of pay and allowances as prescribed by the adjutant general.